LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   error login as normal user (https://www.linuxquestions.org/questions/slackware-14/error-login-as-normal-user-383878/)

mandrakelinux 11-16-2005 10:06 PM

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

perfect_circle 11-16-2005 10:32 PM

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.

mandrakelinux 11-16-2005 10:53 PM

thanks alot
i've created it with useradd not adduser
but want to ask you what's different between them

perfect_circle 11-16-2005 11:20 PM

adduser is slackware scripts that involves useradd command and ensures that the correct permissions/ownerships are given. It's also interactive.

rkelsen 11-16-2005 11:22 PM

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.

mandrakelinux 11-16-2005 11:36 PM

thank you guys
slackware looks complicated but with people like you i'll do it

rkelsen 11-17-2005 12:06 AM

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

perfect_circle 11-17-2005 02:01 AM

You should probably get a copy of the slackbook.
http://www.slackbook.org/

mandrakelinux 11-17-2005 09:02 AM

thanks perfect_circle
hey rkelsen :)


All times are GMT -5. The time now is 05:26 AM.