use adduser. it gives nice prompts and always works
[EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org On Mon, 19 Jul 1999, J Horacio MG wrote: > In an attempt to create a new user, with useradd command, the new user's > home directory was created, and so was the line in /etc/passwd: > > usermaria:x:1001:100::/home/usermaria:/bin/bash > > But if I try to log in as such user: > > login: usermaria > Password: xxxxxxx > Login incorrect > > What may I have done wrong? > > Also, strangely, I have a file in the /etc directory named g?oup-. This > file I believe it's a copy of the file group, see: > > 1 -rw-r--r-- 1 root root 567 jul 14 18:50 group > 1 -rw------- 1 root root 560 jul 14 18:49 group- > 1 -rw------- 1 root root 504 may 21 11:36 g?oup- > > The new user doesn't show in the group file (it should, at least in its > own group, right?). > > TIA > -- > Horacio > [EMAIL PROTECTED] > Valencia - ESPA?A > > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null > >