LinuxQuestions.org
Help answer threads with 0 replies.
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 11-16-2005, 10:06 PM   #1
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Rep: Reputation: 15
error login as normal user


hi all
i'm using slack 10.1 . when log in as normal user it says
Quote:
your home directory is listed as /home/slack
but it does not appear to exist . do you want to log in with /(root) directory as your home directory .
it's unlikely will work unless you use failsafe session
- i have tried to login with root account and create this directory .
- i have tried to login with root account and switch to normal user .
- i have tried to login to gnome and kde .
nothing at all
how could i correct this problem
 
Old 11-16-2005, 10:32 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
first of all. How did you create the new user?
You are supposed to create it through adduser script and not useradd command.
Second if you create the directory as root make sure to give the correct ownership:
Code:
chown -R slack.users /home/slack
But I still insist that if you didn't involve the adduser script to create the user to remove the user and create it again, this time with adduser.
 
Old 11-16-2005, 10:53 PM   #3
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
thanks alot
i've created it with useradd not adduser
but want to ask you what's different between them
 
Old 11-16-2005, 11:20 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
adduser is slackware scripts that involves useradd command and ensures that the correct permissions/ownerships are given. It's also interactive.
 
Old 11-16-2005, 11:22 PM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,416
Blog Entries: 7

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Originally posted by mandrakelinux
i've created it with useradd not adduser
but want to ask you what's different between them
Always use 'adduser'. It takes care of everything for you.

'useradd' does not create home directories or add the user to groups unless these options are explicitly specified on the command line.
 
Old 11-16-2005, 11:36 PM   #6
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
thank you guys
slackware looks complicated but with people like you i'll do it
 
Old 11-17-2005, 12:06 AM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,416
Blog Entries: 7

Rep: Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531Reputation: 2531
Quote:
Originally posted by mandrakelinux
slackware looks complicated but with people like you i'll do it
No wukkas.

You might have to do something about your name though... Mandriva... o_O
 
Old 11-17-2005, 02:01 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
You should probably get a copy of the slackbook.
http://www.slackbook.org/
 
Old 11-17-2005, 09:02 AM   #9
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
thanks perfect_circle
hey rkelsen
 
  


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
Normal user can't login via CDE? zeki709 Solaris / OpenSolaris 2 03-31-2012 04:29 PM
Can't login to FluxBox as normal user (only as root) gpl_racer Mandriva 7 05-11-2005 06:31 PM
Cannot Login With Normal User On Fedora offers2you Fedora - Installation 1 04-20-2005 11:53 PM
Can't login in X as a normal user but root laxteryx Linux - General 2 11-09-2004 12:14 PM
How to login as a normal user? daYz Slackware 5 11-14-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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