From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc,start X-Google-Attributes: gidfee84,public From: Art Werschulz Subject: Re: How to create a superuser equivalent user Date: 1999/01/29 Message-ID: #1/1 X-Deja-AN: 438344328 References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> X-Complaints-To: abuse@digex.net X-Trace: dca1-nnrp1.news.digex.net 917620470 150.108.2.16 (Fri, 29 Jan 1999 09:34:30 EDT) Organization: DIGEX, Inc. - Beltsville, MD - http://www.digex.net NNTP-Posting-Date: Fri, 29 Jan 1999 09:34:30 EDT Newsgroups: comp.unix.osf.osf1 Hi. "tony" <#####*^%tony.pomeroy@southmark.com.au> writes: > Does any one know how to create an equivalent super-user You can do this by creating an additional account with uid=0 and gid=0. But why do you want to do this? The only reason I can think of is that you might want to create another superuser, but with a shell that you like better, i.e., root would have bash as its login shell, but the new account would have (say) tcsh as its login shell. -- Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? Net: agw@dsm.fordham.edu WWW Phone: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: Ed Wensell III aka THE StormRaiser Subject: Re: How to create a superuser equivalent user Date: 1999/01/29 Message-ID: <36B1CA38.31FD@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 438354677 Content-Transfer-Encoding: 7bit References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Mime-Version: 1.0 Reply-To: ewensell@pstcc.cc.tn.us.net Newsgroups: comp.unix.osf.osf1 tony wrote: > > Does any one know how to create an equivalent super-user > > Ta Tony P Dunno about creating another account, but one way to grant access is to install sudo. It can be used to grant a user full super-user access, or limit them to only one particular privileged operation without having to share the root password. I think one of the cooler features of sudo is E-mail notification to root when an unauthorized access is attempted... Also does a good job of CYA for sysadmins since it keeps a rather detailed log of everything done through sudo (some people install sudo and delete su). The official web page for sudo seems to be dead at this moment. but you can download it from: ftp://ftp.courtesan.com/pub/sudo/ -- Until soon... Ed Wensell III Systems and Operations Support, Pellissippi State E-mail hint: A college with a dot net domain? From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: "tony" <#####*^%tony.pomeroy@southmark.com.au> Subject: How to create a superuser equivalent user Date: 1999/01/30 Message-ID: <78sc6e$dl8$1@reader1.reader.news.ozemail.net>#1/1 X-Deja-AN: 438320891 Organization: OzEmail Ltd. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: comp.unix.osf.osf1 Does any one know how to create an equivalent super-user Ta Tony P From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: mkring@netcologne.de.SPAMISILLEGAL (Matthias Kring) Subject: Re: How to create a superuser equivalent user Date: 1999/01/31 Message-ID: <36b69518.981858@news.netcologne.de>#1/1 X-Deja-AN: 439067546 Distribution: world Content-Transfer-Encoding: 7bit References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> <36B1CA38.31FD@pstcc.cc.tn.us.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.netcologne.de X-Trace: news.netcologne.de 917804375 23757 195.14.244.207 (31 Jan 1999 17:39:35 GMT) Organization: Private Site Mime-Version: 1.0 NNTP-Posting-Date: 31 Jan 1999 17:39:35 GMT Newsgroups: comp.unix.osf.osf1 On Fri, 29 Jan 1999 09:48:24 -0500, Ed Wensell III aka THE StormRaiser wrote: >tony wrote: >> >> Does any one know how to create an equivalent super-user >> >> Ta Tony P > >Dunno about creating another account, but one way to grant access is to >install sudo. It can be used to grant a user full super-user access, or >limit them to only one particular privileged operation without having to >share the root password. > >I think one of the cooler features of sudo is E-mail notification to >root when an unauthorized access is attempted... Also does a good job of >CYA for sysadmins since it keeps a rather detailed log of everything >done through sudo (some people install sudo and delete su). > >The official web page for sudo seems to be dead at this moment. but you >can download it from: > > ftp://ftp.courtesan.com/pub/sudo/ Sudo is not necessary. DU already has "dop" for such tasks. Matthias Kring mkring@ matthias.kring@ netcologne.de ditec.de ---------------------------------------- keepyourspam@127.0.0.1 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: Juergen Schroeder Subject: Re: How to create a superuser equivalent user Date: 1999/02/01 Message-ID: <793tcf$lou$2@surz18.HRZ.Uni-Marburg.DE>#1/1 X-Deja-AN: 439349792 Distribution: world References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> <36B1CA38.31FD@pstcc.cc.tn.us.net> <36b69518.981858@news.netcologne.de> Organization: HRZ Uni Marburg User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.35 (i686)) Newsgroups: comp.unix.osf.osf1 Matthias Kring wrote: : Sudo is not necessary. DU already has "dop" for such tasks. where is dop documented? There is no man page and the output of dop -h is very small. Juergen From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: Ed Wensell III aka THE StormRaiser Subject: Re: How to create a superuser equivalent user Date: 1999/02/01 Message-ID: <36B5AE0E.68D@pstcc.cc.tn.us.net>#1/1 X-Deja-AN: 439362591 Content-Transfer-Encoding: 7bit References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> <36B1CA38.31FD@pstcc.cc.tn.us.net> <36b69518.981858@news.netcologne.de> Content-Type: text/plain; charset=us-ascii Organization: Pellissippi State Mime-Version: 1.0 Reply-To: ewensell@pstcc.cc.tn.us.net Newsgroups: comp.unix.osf.osf1 Matthias Kring wrote: > Sudo is not necessary. DU already has "dop" for such tasks. > > Matthias Kring mkring@ matthias.kring@ > netcologne.de ditec.de > ---------------------------------------- keepyourspam@127.0.0.1 As long as you have the latest or patched version. It was a rather large security hole on DUNIX 4.0 - 4.0B. The workaround, when the problem came up, was to chmod 0 (disable) it. See: ftp://ftp.cert.org/pub/cert_bulletins/VB-97.01.dec -- Until soon... Ed Wensell III Systems and Operations Support, Pellissippi State E-mail hint: A college with a dot net domain? From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: mkring@netcologne.de.SPAMISILLEGAL (Matthias Kring) Subject: Re: How to create a superuser equivalent user Date: 1999/03/04 Message-ID: <36debd3c.379936@news.netcologne.de>#1/1 X-Deja-AN: 451216969 Distribution: world Content-Transfer-Encoding: 7bit References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> <36B1CA38.31FD@pstcc.cc.tn.us.net> <36b69518.981858@news.netcologne.de> <793tcf$lou$2@surz18.HRZ.Uni-Marburg.DE> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.netcologne.de X-Trace: news.netcologne.de 920567260 24386 195.14.244.24 (4 Mar 1999 17:07:40 GMT) Organization: Private Site Mime-Version: 1.0 NNTP-Posting-Date: 4 Mar 1999 17:07:40 GMT Newsgroups: comp.unix.osf.osf1 On 1 Feb 1999 09:50:07 GMT, Juergen Schroeder wrote: >Matthias Kring wrote: > >: Sudo is not necessary. DU already has "dop" for such tasks. > >where is dop documented? There is no man page and the output of >dop -h is very small. > >Juergen > Sorry for answering so late, but other things had higher priority :-) Maybe dop is not documented, because it is normally used internally by the CDE (?). The dop config file is /etc/doprc New commands are added with dop -a fullpathofcommand commands are removed with dop -d commandname e.g. dop -a /usr/sbin/adduser dop -d removeuser Authorized users have to be inserted by hand into /etc/doprc e.g. adduser{ {users { jones smith }} {path { /usr/sbin/adduser }} } Look into that file for more examples. Commands are executed e.g. from account smith by calling: /usr/sbin/dop adduser Yes, I read the comment from Ed Wensel III (Ed Wensell III aka THE StormRaiser ) My opinion: Every command with suid bit is insecure somehow. I don't think that sudo has no security holes. Matthias Matthias Kring mkring@ matthias.kring@ netcologne.de ditec.de ---------------------------------------- keepyourspam@127.0.0.1 From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,72512479e6be12dc X-Google-Attributes: gidfee84,public From: Juergen Schroeder Subject: Re: How to create a superuser equivalent user Date: 1999/03/05 Message-ID: <7bobf5$dsu$1@surz18.HRZ.Uni-Marburg.DE>#1/1 X-Deja-AN: 451506315 Distribution: world References: <78sc6e$dl8$1@reader1.reader.news.ozemail.net> <36B1CA38.31FD@pstcc.cc.tn.us.net> <36b69518.981858@news.netcologne.de> <793tcf$lou$2@surz18.HRZ.Uni-Marburg.DE> <36debd3c.379936@news.netcologne.de> Organization: HRZ Uni Marburg User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.35 (i686)) Newsgroups: comp.unix.osf.osf1 Matthias Kring wrote: : On 1 Feb 1999 09:50:07 GMT, Juergen Schroeder wrote: :> :>where is dop documented? There is no man page and the output of :> : Sorry for answering so late, but other things had higher priority :-) Thanks Juergen