Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-01-2006, 12:17 AM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 2
Rep:
|
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.
|
|
|
07-01-2006, 12:23 AM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
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.
|
|
|
07-01-2006, 12:04 PM
|
#3
|
LQ Newbie
Registered: Jun 2006
Posts: 2
Original Poster
Rep:
|
Thanks, I will do that.
|
|
|
07-02-2006, 04:36 AM
|
#4
|
Member
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356
Rep:
|
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.....
|
|
|
07-02-2006, 08:41 AM
|
#5
|
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098
Rep:
|
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.
|
|
|
07-02-2006, 11:24 AM
|
#6
|
Member
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919
Rep:
|
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>
|
|
|
All times are GMT -5. The time now is 04:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|