Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* su at the console
@ 1994-08-10 13:22 Navid Atoofi
  1994-08-10 17:07 ` Art Zemon
  1994-08-10 17:51 ` Joe Smith
  0 siblings, 2 replies; 7+ messages in thread
From: Navid Atoofi @ 1994-08-10 13:22 UTC (permalink / raw)



Hello:
I do work on an alpha axp/800 ( osf1.2 )
When I try to become root I type "su"
it sez: you do not have permission to su root
is their anything special that I should do, or something that
I shouldn't do?
I also was not able to find it in man pages or documentation for osf
I will appriciate if someone can tell me where should I look for?

Navid Atoofi			"ARYANAM KHASHATRAM"
System CAD engineer
Northeastern University
---------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Art Zemon @ 1994-08-10 17:07 UTC (permalink / raw)


Navid Atoofi (navid@ren.ece.neu.edu) wrote:

: Hello:
: I do work on an alpha axp/800 ( osf1.2 )
: When I try to become root I type "su"
: it sez: you do not have permission to su root

You must be in the "system" group.  Add your name to the end of
the "system" line in /etc/group, like this:

	system:*:0:root,art

Cheers,
	-- Art Z.
	   art@unix.dra.com
	   72406.3275@CompuServe.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  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
  1994-08-11 20:21   ` Mike O'Connor
  1 sibling, 2 replies; 7+ messages in thread
From: Joe Smith @ 1994-08-10 17:51 UTC (permalink / raw)



	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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  1994-08-10 17:51 ` Joe Smith
@ 1994-08-10 22:04   ` Ajay Shekhar
  1994-08-11 10:04     ` Torbj|rn Lindgren
  1994-08-11 12:42     ` strange
  1994-08-11 20:21   ` Mike O'Connor
  1 sibling, 2 replies; 7+ messages in thread
From: Ajay Shekhar @ 1994-08-10 22:04 UTC (permalink / raw)


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 ...


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  1994-08-10 22:04   ` Ajay Shekhar
@ 1994-08-11 10:04     ` Torbj|rn Lindgren
  1994-08-11 12:42     ` strange
  1 sibling, 0 replies; 7+ messages in thread
From: Torbj|rn Lindgren @ 1994-08-11 10:04 UTC (permalink / raw)


In article <CuCAo2.MJs@encore.com>,
Ajay Shekhar <ashekhar@luciferencore.com> wrote:
>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.

For OSF/1 the secure ttys are listed in /etc/securettys (or
/etc/auth/system/ttys in a trusted system).

Normally this list includes '/dev/console', 'local:0' and ':0' which
means that you can login as root using X (it would be a bit hard login
in as root on a workstation without accounts otherwise)

PS Your From: line specifies 'ashekhar@luciferencore.com' which
doesn't seem to be a correct address. My DNS did find
'lucifer.encore.com'...


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  1994-08-10 22:04   ` Ajay Shekhar
  1994-08-11 10:04     ` Torbj|rn Lindgren
@ 1994-08-11 12:42     ` strange
  1 sibling, 0 replies; 7+ messages in thread
From: strange @ 1994-08-11 12:42 UTC (permalink / raw)


In article <CuCAo2.MJs@encore.com> ashekhar@luciferencore.com (Ajay Shekhar) writes:

>   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.

See the /etc/securettys file.

	Steve
--
Steve Strange
Digital Equipment Corporation, Nashua, NH
DCE DFS for DEC OSF/1 -- Development
strange@zk3.dec.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: su at the console
  1994-08-10 17:51 ` Joe Smith
  1994-08-10 22:04   ` Ajay Shekhar
@ 1994-08-11 20:21   ` Mike O'Connor
  1 sibling, 0 replies; 7+ messages in thread
From: Mike O'Connor @ 1994-08-11 20:21 UTC (permalink / raw)


In article <32b424$qht@usenet.pa.dec.com> joe@shr.dec.com 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...

Does this work under NIS?  Here's my setup.

The appropriate users are in the system group on an NIS server running
OSF/1 1.3.  The /etc/svc.conf on an OSF/1 1.3 client of that server
says to resolve yp first, then local (I'd rather touch the not-dynamic
svc.conf file on every system than the /etc/group file -- that's what
I have NIS for!).  ypcat confirms that I am getting the groups
properly.  Why then, when I try to su to root, do I get the lovely
"You do not have permission to su to root" message?

						...Mike

-- 
 Michael J. O'Connor           |  Internet:  mjo@jobone.srl.ford.com
 Ford Motor Company, OPEO      |  UUCP:      ...!fmsrl7!opeo!mjo
 20000 Rotunda, Bldg. 1-3001   |  Phone:     +1 (313) 248-1260
 Dearborn, MI  48121           |  Fax:       +1 (313) 323-6277


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1994-08-11 20:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1994-08-11 10:04     ` Torbj|rn Lindgren
1994-08-11 12:42     ` strange
1994-08-11 20:21   ` Mike O'Connor

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