Quote:
Originally Posted by noir911
Is there any way to automate changing root password via ssh on multiple Linux boxes? My root login via ssh is disabled but I can still login as a normal user using ssh keys. Does anyone have a sample expect script?
Thanks.
|
Well, you could use "sudo passwd" I guess, within a dialogue context. Or use sudo with sed/aws/perl or something to edit the /etc/shadow file.