steeltown89
MIS
Is there a way to change the root password on a SunOS 5.8 or 5.9 server? I was looking to change the root password automatically without any prompts and then email it to myself. I looked through a lot of posts but didn't see this question specifically asked. I just want to put a script in cron to run every 90 days to reset the root password and then email it to me so I know what it is (and possibly encrypt the email). I've programmed in ksh but not with "Expect". I've read some forums where Expect might be what I need... I haven't programmed in Perl in 6 years or more but the server has Perl on it...
Thank in advance!![[3eyes] [3eyes] [3eyes]](/data/assets/smilies/3eyes.gif)
Thank in advance!
![[3eyes] [3eyes] [3eyes]](/data/assets/smilies/3eyes.gif)