LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting up users (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-users-203362/)

matt412 07-10-2004 08:47 AM

setting up users
 
I'm as green as they come when it comes to Linux. I just installed Slackware and I'm trying to add a user.

I used 'groupadd backups' to create a new group. Then I added user backup using this command: 'useradd -gbackups -s/bin/bash -pxxxx -d/home/backup -m backup'. It gives me no complaint. Then, when I log out of root and try to login as backup, it fails.

Can anyone help me out?
Thanks,
Matt.

scuzzman 07-10-2004 09:03 AM

This question has been asked before
see here:

http://www.linuxquestions.org/questi...hreadid=202412

<edit> sorry - I didnt see the rest of your post was there... ignore me

reddazz 07-10-2004 09:12 AM

"useradd -g backups -s /bin/bash -d /home/backup -p xxxxxxx -m backup" is fine. You may need to "mkdir /home/backup" then "chown backup /home/backup" because useradd does not usually create the home directory on Slack.


All times are GMT -5. The time now is 01:36 AM.