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.
|
 |
12-27-2005, 04:43 PM
|
#1
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 503
Rep: 
|
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.
|
|
|
12-27-2005, 04:49 PM
|
#2
|
Member
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225
Rep:
|
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.
|
|
|
12-27-2005, 05:32 PM
|
#3
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
...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;
Done!
Later,
MMYoung
|
|
|
12-27-2005, 05:52 PM
|
#4
|
Member
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225
Rep:
|
... or type in a terminal as root
and follow the instructions.
Fluxx.
|
|
|
12-27-2005, 07:38 PM
|
#5
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
Quote:
Originally Posted by Fluxx
... or type in a terminal as root
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
|
|
|
12-27-2005, 10:03 PM
|
#6
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 503
Original Poster
Rep: 
|
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?
|
|
|
12-28-2005, 05:28 AM
|
#7
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 503
Original Poster
Rep: 
|
I'm gonna reinstall from scratch and see what happens, it won't take long.
|
|
|
12-28-2005, 09:45 AM
|
#8
|
Member
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 -current running i3
Posts: 503
Original Poster
Rep: 
|
Well that worked. Everythings fine now, I guess something went astray first install round.
regards,
|
|
|
12-28-2005, 11:17 AM
|
#9
|
Member
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:11 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
|
|