On Wed, 23 Jul 2008, Chris Knadle wrote:
> On Wednesday 23 July 2008, John R Puhalski wrote: >> Hi, >> >> I'm running Kubuntu 8.04 on my laptop. Whenever i log in I get an error >> message, or icon actually. It doesnt give any information, just says >> error, has a yellow triangle with '!' in it and an OK button. I hit OK >> and it logs me in. Everything seems to work fine with the exception of >> the useradd command. when I use it at the command line it gives an >> error > > Uh... what's the error? Here's what I get: [EMAIL PROTECTED]:~$ sudo useradd test [sudo] password for john: Error [EMAIL PROTECTED]:~$ and I just realized it does actually create the user 'test' but i could not log into it. I set a password for the new user and when I try to log in it just keeps bringing me back to the login prompt. > When users are (successfully) added to the system, a log is made of that > in /var/log/auth.log (at least for Debian-like systems). If you want to > search all of the logs for 'useradd' events, try: > zfgrep useradd /var/log/* > hmmm...it did show the new user being added. /var/log/auth.log:Jul 23 14:34:15 john-laptop sudo: john : TTY=pts/2 ; PWD=/home/john ; USER=root ; COMMAND=/usr/sbin/useradd test /var/log/auth.log:Jul 23 14:34:15 john-laptop useradd[17409]: new group: name=test, GID=1003 /var/log/auth.log:Jul 23 14:34:15 john-laptop useradd[17409]: new user: name=test, UID=1003, GID=1003, home=/home/test, shell=/bin/sh > -- Chris > > -- > > Chris Knadle > [EMAIL PROTECTED] > _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Jun 4 - Sqeak! and eToys Jul 2 - KVM (Tenative) Aug 6 - Zenos Sep 3 - TBD
