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