LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-30-2004, 12:22 AM   #1
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Rep: Reputation: 15
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
 
Old 10-30-2004, 12:40 AM   #2
SuperCoffeeMan
Member
 
Registered: Oct 2004
Location: Portland, Oregon
Distribution: Slackware and Ubuntu
Posts: 47

Rep: Reputation: 15
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.
 
Old 10-30-2004, 11:25 AM   #3
AmdMhz
Member
 
Registered: Jan 2004
Location: Indiana
Distribution: Debian, OpenSUSE
Posts: 142

Original Poster
Rep: Reputation: 15
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
 
Old 10-30-2004, 12:38 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 10-31-2004, 01:29 PM   #5
SuperCoffeeMan
Member
 
Registered: Oct 2004
Location: Portland, Oregon
Distribution: Slackware and Ubuntu
Posts: 47

Rep: Reputation: 15
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.
 
  


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
adding files through command line browser Linux - General 6 05-21-2005 06:53 PM
adding a gnome applet to the panel from the command line meonkeys Programming 1 04-23-2004 04:35 AM
adding a user in the command line Daredevil Linux - Newbie 5 02-27-2004 12:56 PM
adding shortcuts for command line hamish Linux - Newbie 6 02-05-2004 07:58 PM
adding command line to starting coltranefawz Linux - Software 1 07-02-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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