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.
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.
|
 |
10-30-2004, 12:22 AM
|
#1
|
Member
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
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: Portland, Oregon
Distribution: Slackware and Ubuntu
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, OpenSUSE
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: 4,290
|
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: Portland, Oregon
Distribution: Slackware and Ubuntu
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.
|
|
|
All times are GMT -5. The time now is 08:31 AM.
|
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
|
|