LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 11-16-2005, 11:06 PM   #1
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55
Thanked: 0
error login as normal user


[Log in to get rid of this advertisement]
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
mandrakelinux is offline     Reply With Quote
Old 11-16-2005, 11:32 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,773
Thanked: 0
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.
perfect_circle is offline     Reply With Quote
Old 11-16-2005, 11:53 PM   #3
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55
Thanked: 0

Original Poster
thanks alot
i've created it with useradd not adduser
but want to ask you what's different between them
mandrakelinux is offline     Reply With Quote
Old 11-17-2005, 12:20 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,773
Thanked: 0
adduser is slackware scripts that involves useradd command and ensures that the correct permissions/ownerships are given. It's also interactive.
perfect_circle is offline     Reply With Quote
Old 11-17-2005, 12:22 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,444
Thanked: 18
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.
rkelsen is offline     Reply With Quote
Old 11-17-2005, 12:36 AM   #6
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55
Thanked: 0

Original Poster
thank you guys
slackware looks complicated but with people like you i'll do it
mandrakelinux is offline     Reply With Quote
Old 11-17-2005, 01:06 AM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,444
Thanked: 18
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
rkelsen is offline     Reply With Quote
Old 11-17-2005, 03:01 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,773
Thanked: 0
You should probably get a copy of the slackbook.
http://www.slackbook.org/
perfect_circle is offline     Reply With Quote
Old 11-17-2005, 10:02 AM   #9
mandrakelinux
Member
 
Registered: Apr 2005
Posts: 55
Thanked: 0

Original Poster
thanks perfect_circle
hey rkelsen
mandrakelinux is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:36 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration