Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-30-2004, 12:22 AM
|
#1
|
|
Member
Registered: Jan 2004
Location: Indiana
Distribution: Debian 4.0 Knoppix
Posts: 142
Rep:
|
Adding users via command Line
Hi all.. I have ran across a strange problem. I have just installed Slackware on my laptop and everything seemed great. I could login as Root and KDE looked fine. I decided to add some users via command line. After I added one, I tried to login in to KDE and received lots of permission denied errors and could not create /home/amdmhz folder errors. It then kicked me back to the command line. So I logged on as root which went fine and I added a user via KDE User wizard. I made sure it create a user folder.
I log out and logged in as the new user and it worked fine. So now I am confused as to why adding users command based does not setup the users right. I have no problem using Slackware on my Other system.
Has anyone else ran into this problem?
Thanks for your help
Amdmhz
|
|
|
|
10-30-2004, 12:40 AM
|
#2
|
|
Member
Registered: Oct 2004
Location: Salem, Oregon
Distribution: Tri-Boot (Ubuntu, OS X, XP)
Posts: 47
Rep:
|
Try the program called adduser, this will step-by-step setup a user for your system. It comes with slackware, so don't worry. It will create /home/~~ and it sets users up correctly in my experience.
|
|
|
|
10-30-2004, 11:25 AM
|
#3
|
|
Member
Registered: Jan 2004
Location: Indiana
Distribution: Debian 4.0 Knoppix
Posts: 142
Original Poster
Rep:
|
Ummm... I already know about this command and that is what I am talking about in this post... I setup the user with that command and when I start KDE I get errors ...It even has trouble going into startx as a user.
Anybody have any ideas?
Thanks
|
|
|
|
10-30-2004, 12:38 PM
|
#4
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
Check and make sure that the user's home directory actually did get created. I seem to recall that unless you specify the -m flag to useradd, the home directory is not created.
|
|
|
|
10-31-2004, 01:29 PM
|
#5
|
|
Member
Registered: Oct 2004
Location: Salem, Oregon
Distribution: Tri-Boot (Ubuntu, OS X, XP)
Posts: 47
Rep:
|
Quote:
|
Check and make sure that the user's home directory actually did get created. I seem to recall that unless you specify the -m flag to useradd, the home directory is not created.
|
This is used with the useradd command, not the adduser command. What you might want to do is boot up to the first Slackware CD, and login as root and type setup then you can configure your slackware system without re-installing. This is similar to typing sysinstall in FreeBSD. Also, make sure that your use has permission to start X. If you get an error message, It helps if you can post the message.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:21 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
|
|