From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e9cb2bd598a758c7 X-Google-Attributes: gidfee84,public From: mitsura Subject: Re: Emergency-User: How to create Date: 2000/05/10 Message-ID: <0005a238.55e8276b@usw-ex0102-084.remarq.com>#1/1 X-Deja-AN: 621537524 References: <39193D32.B43EDBC1@gmx.net> X-Originating-Host: 212.65.63.18 X-Complaints-To: wrenabuse@remarq.com X-Trace: WReNphoon3 957961853 10.0.2.84 (Wed, 10 May 2000 05:30:53 PDT) Organization: http://www.remarq.com: The World's Usenet/Discussions Start Here NNTP-Posting-Date: Wed, 10 May 2000 05:30:53 PDT Newsgroups: comp.unix.osf.osf1 X-Wren-Trace: eI6rg4Kb3JbdxZ6Jhu6ChpWR0IaEiMeLn4OTw4Wf15zQ2oDZ1YDN08ze0g== Every system admin comes across this problem sooner or later. I know of several solutions, up to you what you like best. What you can do is create an operator user with UID 0 (same privs as root) Then you create a shell script with the various requirements you need. Make sure you trap ctrl-d and ctrl-c trap and eliminate them so that nobody can quite the script Then in the /etc/passwd, you replace the default shell of the operator user with this script. Make sure that in the first line of the script the shell to use is specified (#!/usr/sbin/ksh) Now when the operator logs on, he will be root but without a shell and he will automatically enter into the script. I personally don't like this solution much but it has been known to work. The second solution is to install software that gives certain users the right to execute commands as root There is a very good freeware called 'sudo' If you want a commercial software, take a look at CA TNG Security option or Axent, however, here you are going to have to spend a lot of money I hope this helps, With kind regards, KD * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network * The fastest and easiest way to search and participate in Usenet - Free!