Thanks that solved the problem. No I need to put the correct commands to execute in the sudo.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregor Jeromen Sent: miƩrcoles, 22 de agosto de 2007 15:27 To: Solaris-Users mailing list Subject: Re: [Solaris-Users] Su command Or use sudo -u root /opt/jakarta/bin/shutdown.sh and set the NOPASSWD in sudoers coniguration file for you/root: you ALL=(ALL) NOPASSWD: ALL > No, but you can use ssh to localhost and play with keys to do this > task :-) > >> Hi there, >> I want to execute these command without the need for a password >> input. >> su - root -c /opt/jakarta/bin/shutdown.sh I am the superuser of the >> machine. Is there a possibility to put something like a -p password >> in that argument? -- Lep pozdrav, Gregor Jeromen [Epilog d.o.o., Slovenija | tel: ++386-1-5838017 | fax: -5154015] _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users _______________________________________________ Solaris-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/solaris-users
