Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2004, 09:47 AM   #1
LQ Newbie
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
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?
Old 07-10-2004, 10:03 AM   #2
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
This question has been asked before
see here:

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

Last edited by scuzzman; 07-10-2004 at 10:20 AM.
Old 07-10-2004, 10:12 AM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
"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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting environment variables for all users? Ham1am Solaris / OpenSolaris 5 05-03-2005 10:18 AM
setting up users in VSFTPD true_atlantis Linux - Software 1 09-29-2004 03:28 PM
Setting up Nethack for users TidyKiller Linux - Games 0 08-12-2004 11:07 PM
vsftpd - setting up users Korff Linux - Networking 7 05-31-2003 05:00 PM
Setting Up Users in APOP hubergeek Linux - Networking 2 05-01-2002 12:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration