[HPADM] expect - sudo - ssh - update



Most of the folks recomented sudo . most of the folks
have concern on expect .

My challenge is , I need to run a script on remote
server as root . But don't want to open root login to
the server . I guess a good way is to create a normal
user account for this purpose with ssh keys shared and
have this user in sudo file to execute the sctript .

any other/better way ?

Thanks to all replied

-vinod















--- "Marshall, Richard" <Richard.Marshall@xxxxxxxxxxx>
wrote:

Thank all who responded to my question on setting
the umask for ftpd in
the /etc/inetd.conf file. It was set to 007.



Richard W. Marshall

Senior Technical Specialist

Information Systems

richard.marshall@xxxxxxxxxxx

617-328-2921

Hours: 06:00-14:00 Mon.-Fri.



This email message is intended only for the
addressee(s) and contains information that may be
confidential.
If you are not the intended recipient please notify
the sender by reply email and immediately delete
this message.
Use, disclosure or reproduction of this email by
anyone other than the intended recipient(s) is
strictly prohibited.




____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ