LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-10-2004, 08:47 AM   #1
matt412
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?
Thanks,
Matt.
 
Old 07-10-2004, 09:03 AM   #2
scuzzman
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:

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

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

Last edited by scuzzman; 07-10-2004 at 09:20 AM.
 
Old 07-10-2004, 09:12 AM   #3
reddazz
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.
 
  


Reply



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 09:18 AM
setting up users in VSFTPD true_atlantis Linux - Software 1 09-29-2004 02:28 PM
Setting up Nethack for users TidyKiller Linux - Games 0 08-12-2004 10:07 PM
vsftpd - setting up users Korff Linux - Networking 7 05-31-2003 04:00 PM
Setting Up Users in APOP hubergeek Linux - Networking 2 05-01-2002 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 PM.

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