|
||||
I know toor has been around awhile, other then being root spelled backwards I've never seen much point to it. The super user account being named root is more tradition then purposeful imho, aside from any body that assumes there is a 'root' >_>
There is nothing to stop us from creating, say an account named kwyjibo with a UID of 0, assuming we had access to such an account ourselves. I think I've heard of one or two people that actually bothered. I've always operated under the assumption that the kernel see's numerical UID, GID, and a bitmask of file permissions where we see usernames, group names, and -rwx--* stuff. Having predominately used systems where roots standard shell has tab completion available (FreeBSD, OpenBSD, many Linux distros), I've never bothered to use any thing but the default for roots,. So I've never thought about simply using toor, just an exec if I ever needed an automated change. In the case of FreeBSD at least, technically shouldn't it make no difference what root's default shell is? Since you get an enter path to your shell prompt with a default of /bin/sh for single user mode? The only point I personally could see to using anything but the root account, would be changing root and toor to dead-end accounts and using a randomly selected username as the real super user to keep people guessing. Which wouldn't make much sense because anyone who can look at /etc/password could find all super user accounts. Code:
Terry@dixie$ grep -E '\w*:.*:0:0:.*' /etc/passwd 3:50 root:*:0:0:Charlie &:/root:/bin/csh toor:*:0:0:Bourne-again Superuser:/root: Terry@dixie$ 3:50
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
according to http://everything2.com/title/Charlie%2520Root
Quote:
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
||||
I just use sudo. I never used to, until I started using Mac OS X. Then, I just decided it was convenient enough to prepend sudo if I needed to use root privileges or do sudo -s if I needed a full root shell with my current environment. This way, I don't need to change any of the root user's settings besides the password during install.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
Tags |
root |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ZFS root and linproc 7.2-RC1 | wnsi | FreeBSD Installation and Upgrading | 0 | 20th April 2009 06:54 PM |
ssh root | Nk2Network | OpenBSD Security | 22 | 8th April 2009 06:59 PM |
NTOP as root | sniper007 | FreeBSD Security | 0 | 27th January 2009 07:42 PM |
Wheel Can't su root | MetalHead | OpenBSD General | 2 | 22nd November 2008 12:44 AM |
root mail | sheriff26 | FreeBSD General | 5 | 2nd July 2008 04:56 PM |