Dave Howorth wrote:
> On Tue, 2007-03-20 at 15:50 -0500, Dave Crouse wrote:
>> In general I would STRONGLY suggest that you do NOT do this....
>> however... if your bent on doing it -- do it at your own risk.
>>
>> Before making any changes BACKUP any files you might be editing.
>>
>> Local user accounts are stored in:  /etc/passwd
>> copy the root line.....paste it back in right under the original root
>> line....changing the "root" to "whatever" in that second line will
>> give you a second user with UID 0
> 
> Have you ever actually done this and had a working system?
> 
> I have seen several reports of the various ways in which the system dies
> subsequent to this kind of effort, so I would be interested if you have
> a 'known good' recipe.
> 
> And to the OP - you have been warned, repeatedly! Don't do this.
> 
> Cheers, Dave

FWIW, FeeBSD systems come pre-installed with the 'toor' user, which is identical
to the root user, but often it uses bash as the default shell (which isn't in
the base installation).  This enables you to have another root user you can
log in as if you know all the mounts worked okay, that uses a "better" shell
than your basic 'sh' (which is not bash on FreeBSD).

$ cat /bsd/root/etc/passwd

# $FreeBSD: src/etc/master.passwd,v 1.40 2005/06/06 20:19:56 brooks Exp $
#
root:*:0:0:Charlie &:/root:/bin/csh
toor:*:0:0:Bourne-again Superuser:/root:
daemon:*:1:1:Owner of many system processes:/root:/usr/sbin/nologin


-- 
Jonathan Arnold     (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, an Open OS weblog:
    http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to