From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6be1c0cec80a24b4 X-Google-Attributes: gidfee84,public From: caprica7@aol.com (Caprica 7) Subject: Re: switch user to root in shell script Date: 1999/01/03 Message-ID: <19990102232656.08430.00005865@ng-fu1.aol.com>#1/1 X-Deja-AN: 428200211 References: <01be33ca$273d6d20$f9198b82@nlvaw129> Organization: AOL http://www.aol.com Newsgroups: comp.unix.osf.osf1 X-Admin: news@aol.com The only requirement for any user to be able to SU root is that he needs to be a member of the "system" group in /etc/group. sudo works, and you can also call the encrypted version of root's password in a shell script; I don't see any restrictions on which shell you use but I might stick with Korn or Bourne as most Digital UNIX systems are installed with root under the Bourne, Korn, or a weird thing called "Korn under the Bourne Shell." Best Regards, Mark Ray Digital UNIX Systems Administrator S & S Worldwide, Corp.