[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: suid script



Dennis,

> A better/more secure way is to install the package 'sudo'.  Then you
> can add the command to the /etc/sudoers file:
> 
> #= Give 'username' permission to execute 'mycommand' as root
> username           ALL=/path/to/mycommand

	And then I put a NOPASSWD: and I have the same behaviour as I
would get with a suid script! 

	Thanks a lot for your help.

Salutacions, Pere       ----  __o            Ultima Ratio Regum
  2:343/108.91       -----  _`\<;_        mailto:pere@casal.upc.es
PGP key available     ---  (_)/ (_)      http://casal.upc.es/~pere/


Reply to: