On Tuesday 20 March 2007 15:11, Flextron wrote: > I need to create a new user so the batch process can be easily recognised, > Does anybody know how to create a user that has ALL rights to execute ALL > commands ? (using PAM...?) Rather than create a wheel user, why not simply set up the program as a setuid. (I would not recommend doing this with a script though). Then you can run the batch process (assuming it is not a script and has been tested) with the setuid and setgid bits on, and the program can run as a regular user, but can become root when it needs to execute some commands. Another solution is to use sudo. -- Jerry Feldman <[EMAIL PROTECTED]> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
signature.asc
Description: PGP signature
