[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user '0'??



Well, it looks to me like you deleted your root user from /etc/passwd.  
I'd suggest adding it back in before logging off, or before your next 
reboot.  If your regular userid is in /etc/sudoers, you're probably ok 
to 'sudo vipw' or 'sudo vi /etc/passwd' and fix it by hand.  If not, 
you may need to boot from cd, or into single user to fix this.

Good luck.

On Tuesday, April 1, 2003, at 08:23  AM, Antonio Carlos I. Paes wrote:

> when i try to change the user database, chsh:
>
> +=+=+=+=+=+=+=+
> Information on user id 0 not found.
> Modifications not recoverable if the session fails
>
>
> USER       PID %CPU %MEM   VSZ   RSS TT   STAT STARTED       TIME 
> COMMAND
> ds       29421  0.0  0.0   276   172 C2  R+    10:18AM    0:00.00 ps 
> -auwx
> 0        28045  0.0  0.0   100   244 ??  Ss    21Mar03    0:23.06 
> syslogd -a
> /var/named/dev/log
> 0        12102  0.0  0.0   328    68 ??  Ss    21Mar03    0:42.18 
> pflogd
> 0        23128  0.0  0.0  5432     4 ??  Is    21Mar03    0:26.59
> /usr/bin/perl -T /usr/sbin/amavisd
> 0        24001  0.0  0.0    64   152 ??  Is    21Mar03    0:03.84 inetd
> 0        11483  0.0  0.0   356   108 ??  Is    21Mar03    0:29.26
> /usr/sbin/sshd
> 0        23430  0.0  0.0  1708     4 ??  Is    21Mar03    0:00.01
> /usr/local/sbin/squid
> squid    20659  0.6  0.0 26452  7624 ??  SN    21Mar03   34:49.97 
> (squid)
> (squid)
> 0        27744  0.0  0.0   228   136 ??  Ss    21Mar03    0:04.35 cron
> squid    23680  0.0  0.0    20     4 ??  Is    21Mar03    0:00.01 
> (unlinkd)
> (unlinkd)
> squid    16521  0.0  0.0    28   132 ??  Ss    21Mar03    0:45.74 diskd
> 21154816 21154817 21154818
> 0         9219  0.0  0.0   120     4 ??  Is    22Mar03    0:00.15
> /usr/local/sbin/portsentry -tcp
> ds        3591  0.0  0.0    32    76 ??  Is    24Mar03    0:00.31 
> wsmoused -2
> 0        30152  0.9  0.0 50392  6964 ??  Ss    24Mar03   19:06.11 
> snort -b -A
> fast -i ne4 -l /var/log/snort -c /etc/snort/snort.con
> 0        27536  0.0  0.0    48     4 C5  Is+   Wed11AM    0:00.01
> /usr/libexec/getty Pc ttyC5
> 0         6208  0.0  0.0    44     4 C4  Is+   Wed11AM    0:00.01
> /usr/libexec/getty Pc ttyC4
> 0         4022  0.0  0.0   888   712 ??  Ss    Wed04PM    0:41.15 
> sendmail:
> accepting connections (sendmail)
> www       6758  0.0  0.0  1512   536 ??  Ss    Fri08AM    0:11.42 
> httpd:
> parent [chroot /var/www] (httpd)
> www      28582  0.0  0.0  3232   552 ??  I     Fri12PM    0:05.98 
> httpd: child
> (httpd)
> www       1870  0.0  0.0  3416   572 ??  S     Fri12PM    0:05.97 
> httpd: child
> (httpd)
> www      16495  0.0  0.0  3424   568 ??  S     Fri12PM    0:04.11 
> httpd: child
> (httpd)
> www       9816  0.0  0.0  3428   552 ??  I     Fri12PM    0:03.75 
> httpd: child
> (httpd)
> www      28068  0.0  0.0  3424   552 ??  I     Fri12PM    0:03.88 
> httpd: child
> (httpd)
> www      32023  0.0  0.0  3424   552 ??  I     Fri12PM    0:03.36 
> httpd: child
> (httpd)
> www      16235  0.0  0.0  2468   552 ??  I     Fri12PM    0:02.45 
> httpd: child
> (httpd)
> www      15460  0.0  0.0  1512   552 ??  I     Fri12PM    0:02.25 
> httpd: child
> (httpd)
> www      30717  0.0  0.0  1512   560 ??  I     Fri12PM    0:01.92 
> httpd: child
> (httpd)
> www      26405  0.0  0.0  1812   556 ??  I     Fri04PM    0:02.02 
> httpd: child
> (httpd)
> ds        3359  0.0  0.0   688   476 C1  Is    Sat09AM    0:00.21 -bash
> (bash)
> ds       15458  0.0  0.0   668     4 C0  Is    Sat09AM    0:00.18 -bash
> (bash)
> ds       17539  0.0  0.0   668     4 C3  Is    Sat09AM    0:00.09 -bash
> (bash)
> ds        8343  0.0  0.0   668   484 C2  Ss     9:39AM    0:00.15 -bash
> (bash)
> 0         5027  0.0  0.0  1724  2884 ??  Ss     9:40AM    0:08.71 named
> ds       31817  0.0  0.0  2004  2396 C0  S+     9:51AM    0:03.75 
> BitchX
> irc.vsp.com.br (BitchX-1.0c18)
> 0        20983  0.0  0.0   672   344 C3  I+     9:54AM    0:00.08 bash
> ds        6216  0.0  0.0   512   772 C1  S+    10:15AM    0:00.11 micq
> 0            1  0.0  0.0   344    80 ??  Is    21Mar03    0:00.80 
> /sbin/init