bossert@ssc-bee.UUCP (John Bossert) (09/24/86)
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
grr@cbmvax.cbm.UUCP (George Robbins) (09/27/86)
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)
ilacqua@bucsb.bu.edu.UUCP (Joe Ilacqua) (10/01/86)
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 | +--------------------------------------------------------------------+
taylor@oswego.UUCP (Paul R. Taylor) (11/03/86)
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.