🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

4 total messages Started by John Bossert Wed, 24 Sep 1986 17:35
Programs knowing "root"
#7190
Author: John Bossert
Date: Wed, 24 Sep 1986 17:35
15 lines
1044 bytes
Can someone supply me with a list of programs depending on the user
with uid==0 having the name "root"?  Specifically, I'd like to know
what would break if I renamed "root" to "mother", for example.  I'm
primarily concerned with 4.[23] BSD, but the System V information would
be valuable too.

Please mail and I'll summarize to the net.  Thanks.
-- 


	John Bossert

	UUCP: uw-beaver!ssc-vax!bossert
	OLD Internet: ssc-vax!bossert@uw-beaver.ARPA
	NEW Internet: ssc-vax!bossert@uw-beaver.washington.edu
Re: Programs knowing "root"
#7212
Author: George Robbins
Date: Sat, 27 Sep 1986 20:32
24 lines
1932 bytes
In article <619@ssc-bee.UUCP> bossert@ssc-bee.UUCP (John Bossert) writes:
>Can someone supply me with a list of programs depending on the user
>with uid==0 having the name "root"?  Specifically, I'd like to know
>what would break if I renamed "root" to "mother", for example.  I'm
>primarily concerned with 4.[23] BSD, but the System V information would
>be valuable too.

In System VR1  (at least the Zilog flavor) "root" is compiled into su and init.
The init is a real nut-cruncher, since deleting the "root" entry from
/etc/passwd prevents you from booting up into even single user mode.

The safe thing is two have two entries for "root" in you /etc/passwd file,
the first being the one that the system uses to translate uid 0 to "root",
the second being "root" to satisfy programs that have this hard coded.
The passwords can be identical, or arranged to prevent logins or one or the
other.

This works nicely for system V, but I make no claims about Berkeley.  In the
Zilog case, "zeus" is actually compiled into the programs, but I prefer to
use "root" like any normal unix system.
-- 
George Robbins - now working for,	uucp: {ihnp4|seismo|caip}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@seismo.css.GOV
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)
Re: Programs knowing "root"
#7232
Author: Joe Ilacqua
Date: Wed, 01 Oct 1986 16:27
20 lines
1619 bytes
In article <619@ssc-bee.UUCP> bossert@ssc-bee.UUCP (John Bossert) writes:
>Can someone supply me with a list of programs depending on the user
>with uid==0 having the name "root"?  Specifically, I'd like to know
>what would break if I renamed "root" to "mother", for example.  I'm
>primarily concerned with 4.[23] BSD, but the System V information would
>be valuable too.

	This is not major but:

	Rsend can not write to some with a UID of 0 if the name is not
root. (This is because part of the check to see if the terminal is in
use is to see if it is owned by root)
-- 
+--------------------------------------------------------------------+
|      I never make mistakes. I thought I did once, but I was wrong. |
|UUCP:	...!harvard!bu-cs!bucsb!ilacqua                              |
|ARPANET: ilacqua@bucsb.bu.edu                                       |
|CSNET: ilacqua%bucsb@bu-cs      BITNET: engemnc@bostonu             |
+--------------------------------------------------------------------+
Re: Programs knowing "root"
#7540
Author: Paul R. Taylor
Date: Mon, 03 Nov 1986 14:48
14 lines
1455 bytes
In article <619@ssc-bee.UUCP> bossert@ssc-bee.UUCP (John Bossert) writes:
>Can someone supply me with a list of programs depending on the user
>with uid==0 having the name "root"?  Specifically, I'd like to know
>what would break if I renamed "root" to "mother", for example.  I'm
>primarily concerned with 4.[23] BSD, but the System V information would
>be valuable too.

we here running 4.[23] BSD and ULTRIX 1.2 have set up multiple users with
uid's == 0, the first one that is encountered in the passwd file is what
all of the programs that were owned by root are woned by. Eg. if mother
has a uid of 0 and comes before root in the passwd file then all of the 
programs that were owned by root are then owned by mother. other than this
strangeness, we have found no problems with having more than one account
with a uid == 0. 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads