Date: Sun, 6 Jan 2002 23:44:36 +0100 From: Rogier Steehouder <r.j.s@gmx.net> To: Ceri <setantae@submonkey.net> Cc: FreeBSD-questions@freebsd.org Subject: Re: Can I rename root? Message-ID: <20020106234436.A837@localhost> In-Reply-To: <20011231155709.GA8082@rhadamanth>; from setantae@submonkey.net on Mon, Dec 31, 2001 at 03:57:09PM %2B0000 References: <20011229154552.B855@localhost> <20011230103317.A474@localhost> <20011231154733.A832@localhost> <20011231155709.GA8082@rhadamanth>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31-12-2001 15:57 (+0000), Ceri wrote: > On Mon, Dec 31, 2001 at 03:47:33PM +0100, Rogier Steehouder wrote: > > On 30-12-2001 10:33 (+0100), Rogier Steehouder wrote: > > > On 29-12-2001 15:45 (+0100), Rogier Steehouder wrote: > > > > A simple question: Can I rename root? > > > > > > I only got the advise: Don't. iThanks for the advise, but since noone > > > knew any programs explicitly, I did it anyway. > > > What was it Shakespear said about a rose's name? > > That's as may be, but he obviously never looked at the source ;) : > > setantae@rhadamanth setantae$ grep -C2 root /usr/src/sbin/init/init.c > * single user do not freak out and die (like passwd). > */ > if (setlogin("root") < 0) > warning("setlogin() failed: %m"); > > -- > struct passwd *pp; > static const char banner[] = > "Enter root password, or ^D to go multi-user\n"; > char *clear, *password; > #endif > -- <etc> Thank you Ceri! I don't use other people's source code if I can help it, but this is what I was asking for. One of the most important programs in the system assumes the superuser is called 'root'. That is a good reason to keep the name (or change it back as I did). So there is a good reason to keep the name (besides tradition) after all. Now all we need is a list with other usernames some programs require and which should not be removed. With kind regards, Rogier Steehouder -- ___ _ -O_\ // | / Rogier Steehouder //\ / \ r.j.s@gmx.net // \ <---------------------- 25m ----------------------> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020106234436.A837>