Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mitsura <kdomNOkdSPAM@mail.mobistar.be.invalid>
Subject: Re: Emergency-User: How to create
Date: 2000/05/10	[thread overview]
Message-ID: <0005a238.55e8276b@usw-ex0102-084.remarq.com> (raw)
In-Reply-To: 39193D32.B43EDBC1@gmx.net

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!




      reply	other threads:[~2000-05-10  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-10  4:00 Emergency-User: How to create Tom
2000-05-10  4:00 ` mitsura [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox