From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f8c5d93a7bf6013c X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-08-11 09:47:41 PST Newsgroups: comp.unix.osf.osf1 Path: bga.com!news.sprintlink.net!hookup!swrinde!cs.utexas.edu!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!uunet!news.encore.com!lucifer!ashekhar From: ashekhar@luciferencore.com (Ajay Shekhar) Subject: Re: su at the console Organization: Encore Computer Corperation Date: Wed, 10 Aug 1994 22:04:43 GMT Message-ID: References: <32akac$a9u@chaos.dac.neu.edu> <32b424$qht@usenet.pa.dec.com> Sender: ashekhar@lucifer (Ajay Shekhar) Nntp-Posting-Host: lucifer.encore.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 ...