Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ashekhar@luciferencore.com (Ajay Shekhar)
Subject: Re: su at the console
Date: Wed, 10 Aug 1994 22:04:43 GMT	[thread overview]
Message-ID: <CuCAo2.MJs@encore.com> (raw)
In-Reply-To: 32b424$qht@usenet.pa.dec.com

In article <32b424$qht@usenet.pa.dec.com>, smith@shr.dec.com (Joe Smith) writes:
|> 
|> 	With the OSF/1 o/s, in order to su to root, you must be in the system
|> group as defined in the /etc/group file...
|> 
|> -- 
|> --------------------------------------
|> Joe Smith
|> 
|> Sr. CAD Engineer
|> Internet: joe@shr.dec.com                      UUCP: !decwrl!shr.dec.com!joe
|> 
|> Digital Equipment Corporation,  Avastor Division
|> Northeast Technology Center,
|> 333 South St.
|> Shrewsbury, Ma. 01545-4112
|> SHR1-3/E17

This is only partially correct.
You can ONLY "login" as root on the console (with *maybe* an exception
I'll tell later).

You *CAN* login as your self and "su" after that if you are in the
/etc/groups file within the "system" group but you CANNOT type in "root"
and the login prompt and gain access.

The explanation has two points

* You definitely need to be in the system group to "su". Additionally
you need the root password.

* Now assume if someone gets the root password maliciously. He CANNOT
"su" as he is not in the /etc/group system list. To make use of the root
password he has to be on the "physical" console the first time (so he
can add himself to the system group). If this malicious user cannot gain
access to the console, then using this mechanism you have prevented a
security breach, even though some one knows your root password.

What I don't know, is if there is a group of terminals that can be
designated as "secure" so that a "root login" can be dome from them. In
essence, if you have more than one console then you may be able to login
as root from only those consoles.

Hope this helps ...
-- 
Ajay Shekhar

(ashekhar@encore.com)

Disclaimer : Nothing I ever say reflects Encore's opinions ...


  reply	other threads:[~1994-08-10 22:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-08-10 13:22 su at the console Navid Atoofi
1994-08-10 17:07 ` Art Zemon
1994-08-10 17:51 ` Joe Smith
1994-08-10 22:04   ` Ajay Shekhar [this message]
1994-08-11 10:04     ` Torbj|rn Lindgren
1994-08-11 12:42     ` strange
1994-08-11 20:21   ` Mike O'Connor
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