LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-01-2006, 12:17 AM   #1
daveydave400
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 0
Question New User Newbie Help


OK I am completely new to linux and i'm not the most knowledgable with unix commands but I'm good with computers and programming and such. Well anyway I found a guide I guess you could call it on linux.org in the lessons for beginners section (I can't make a Link until after 3 posts)
I know they arent using slackware and its probably old but on my Slackware 10.2 i did "useradd" added a user, set a password, but do i have to manually set up a directory in "/home/"? Whenever I log onto the new account it says that the directory does not exist so it sets up home as the user directory or at least thats what it seems to mean. Any help on how to properly set up a user account would be much appreciated. And also does anyone have really good guides/lessons/tutorials website that I can visit to actually learn how to do most of the stuff on slackware. Thanks for any help.
 
Old 07-01-2006, 12:23 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It's probably easier to use adduser, which will also create the home directory for you. You might want to see http://slackbook.org/, as that's quite a good guide to Slackware.

Also, please use more descriptive thread titles in future.
 
Old 07-01-2006, 12:04 PM   #3
daveydave400
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, I will do that.
 
Old 07-02-2006, 04:36 AM   #4
gani
Member
 
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356

Rep: Reputation: 34
adduser is a script prepared to make users creations easy. But it always defaults you to group "users" and if you don't want that to be, create first your own group using "groupadd".

# groupadd yourusername
# adduser

Then provide your own group when prompted.

Don't always forget to read the man pages. They are ready command references.

# man useradd
# man groupadd
# man ls

etc.....
 
Old 07-02-2006, 08:41 AM   #5
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
It should setup your user to use /home/Username. I am pretty sure that you must first login for the directory to be created. However I agree with what they said here. I use adduser due to it's simplicity.
 
Old 07-02-2006, 11:24 AM   #6
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Add a new user and password with directory....
Just add/change any groups that you desire.

Code:
# adduser -g users -G lp,wheel,audio,cdrom,scanner,cron -m <username>
# passwd <username>
 
  


Reply


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
please, where can newbie debian user get help? anton_w Debian 22 04-28-2005 09:36 AM
newbie linux user flair321 Linux - Newbie 2 02-23-2005 07:10 AM
Former windows user.. Really Newbie to this! LoveHateTragedy Linux - Newbie 6 10-21-2004 05:13 AM
just saying hi as a newbie linux user NiteM4re LinuxQuestions.org Member Intro 2 12-12-2003 10:41 AM
newbie user needs help getting DHCP working! aidano Linux - Networking 3 05-25-2001 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:10 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