[sudo-users] PASSWORD

Todd C. Miller Todd.Miller at courtesan.com
Fri Oct 29 11:13:23 EDT 2004


In message <20041029051908.87123.qmail at web40622.mail.yahoo.com>
	so spake Kabirul Islam (kabir_ul):

> I work on Linux.I want to know if i can avoid the
> promt for password while running a shell script which
> contains a :su - usr -c  "script".I will be greatful
> to you all if you can provide me some solution.

The the NOPASSWD tag.  E.g.

user	host = NOPASSWD: /usr/bin/su - otheruser -c script

 - todd



More information about the sudo-users mailing list