LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-27-2005, 04:43 PM   #1
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Rep: Reputation: 39
Creating new user gives empty /home directory


I've just installed 10.2, logged in as root and created a new user with kuser.

If I then try and login from the prompt I just get 'login incorrect'.

$ cd /home/new_user;ls -l gives me total: 0

I'm not sure why this is happening.
 
Old 12-27-2005, 04:49 PM   #2
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
I experienced that in kuser there is by default the user account deactivated. I removed the "x" so that the account was activated and everything worked fine ...

Fluxx.
 
Old 12-27-2005, 05:32 PM   #3
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
...or you could actually open a terminal, log in as root, and use useradd;
Code:
useradd user -m -G insert,groups,here,seperated,by,commas -s /bin/bash
Then create a password for the user;
Code:
passwd user
Done!

Later,
MMYoung
 
Old 12-27-2005, 05:52 PM   #4
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
... or type in a terminal as root

Code:
adduser
and follow the instructions.

Fluxx.
 
Old 12-27-2005, 07:38 PM   #5
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by Fluxx
... or type in a terminal as root

Code:
adduser
and follow the instructions.

Fluxx.
Yeah, but then you got to answer all those questions ! With useradd, just one line of text, press enter and your done.

Later,
MMYoung
 
Old 12-27-2005, 10:03 PM   #6
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Original Poster
Rep: Reputation: 39
Adding a user via the terminal just gave the same result I'm afraid. Empty /home directory and refused login. (the account wasn't disabled in kuser either).

Thanks for your suggestions.

I've now found out that if I open konqueror and try to login to my router I also get refused so maybe this is a wider issue?
 
Old 12-28-2005, 05:28 AM   #7
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Original Poster
Rep: Reputation: 39
I'm gonna reinstall from scratch and see what happens, it won't take long.
 
Old 12-28-2005, 09:45 AM   #8
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: slackware
Posts: 289

Original Poster
Rep: Reputation: 39
Well that worked. Everythings fine now, I guess something went astray first install round.

regards,
 
Old 12-28-2005, 11:17 AM   #9
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally Posted by frostierh9
Well that worked. Everythings fine now, I guess something went astray first install round.

regards,
Do you know of anything your might have done differently with this install as compared to the first?

Just wondering,
MMYoung
 
  


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
Limit a user to their home directory redgore Linux - General 2 08-04-2009 10:45 AM
installed new kernal - now my /home directory is empty ! websinger Debian 6 05-07-2005 08:06 PM
How can I define permissions on a /home/user dir _before_ creating it with adduser skunkburner Linux - General 6 03-18-2004 03:42 PM
How is your /home/user directory organized cyris Linux - General 4 04-09-2002 05:31 PM
Restricting user home directory ? chuck77 Linux - General 3 11-27-2001 06:44 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration