What is this?
-
/root(1): cat /etc/passwd
$FreeBSD: src/etc/master.passwd,v 1.39 2004/08/01 21:33:47 markm Exp $
root::0:0:Charlie &:/root:/bin/sh
toor::0:0:Bourne-again Superuser:/root:
daemon::1:1:Owner of many system processes:/root:/usr/sbin/nologin
operator::2:5:System &:/:/usr/sbin/nologin
bin::3:7:Binaries Commands and Source:/:/usr/sbin/nologin
tty::4:65533:Tty Sandbox:/:/usr/sbin/nologin
kmem::5:65533:KMem Sandbox:/:/usr/sbin/nologin
games::7:13:Games pseudo-user:/usr/games:/usr/sbin/nologin
news::8:8:News Subsystem:/:/usr/sbin/nologin
man::9:9:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
sshd::22:22:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
smmsp::25:25:Sendmail Submission User:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull::26:26:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind::53:53:Bind Sandbox:/:/usr/sbin/nologin
proxy::62:62:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd::64:64:pflogd privsep user:/var/empty:/usr/sbin/nologin
www::80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody::65534:65534:Unprivileged user:/nonexistent:/usr/sbin/nologin
dhcpd::1002:1002:DHCP Daemon:/nonexistent:/sbin/nologin
admin::0:0:System Administrator:/root:/etc/rc.initial
_dhcp::65:65:dhcp programs:/var/empty:/usr/sbin/nologin
_isakmpd::68:68:isakmpd privsep:/var/empty:/sbin/nologin
uucp::66:66:UUCP pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop::68:6:Post Office Owner:/nonexistent:/usr/sbin/nologin
_ntp::123:123:NTP daemon:/var/empty:/sbin/nologin
_relayd::913:913:Relay Daemon:/var/empty:/usr/sbin/nologin
squid:100:Squid caching-proxy pseudo user:/usr/local/squid:/usr/sbin/nologin
unbound::59:1:unbound dns resolver:/nonexistent:/usr/sbin/nologinplease explain about user root with Charlie on that line $ user toor | what are they exactly
Thx
-
toor - an alternative login for if you lock yourself out of your root account - special to BSD
root - the superuser account that all unix systems have
If you go and read the FreeBSD handbook you'll find out about them, and more.
-
ok thx a lot for the explanation it very different with the unix-like system (linux) if i'm not mistaken ;D
-
They both have their origin in the same place, but they've evolved differently. This means that while Linux and BSD are similar they have differences.
Of course, they're both unix like ;)
-
Actually BSD-based systems are descendents of UNIX and not really "UNIX-like" the same way that Linux is, but in general that is correct. BSD systems evolved from older/existing UNIX code, whereas Linux was coded to be "like" UNIX from the start. Po-tay-to, po-tah-to, six of one half a dozen of the other, etc. :-) There's a Wikipedia doc explaining all the nuances of the term for the curious.
As for the passwd accounts, root and admin are tied together by us. The toor account is locked out by default can't be used, though it does exist we don't make use of it. Like many of the other accounts in that list, there are reasons in the underlying OS that they remain there. Various bits of FreeBSD docs would cover that part.