LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 11: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, 11:32 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
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, 11: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-17-2005, 12:20 AM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
adduser is slackware scripts that involves useradd command and ensures that the correct permissions/ownerships are given. It's also interactive.
 
Old 11-17-2005, 12:22 AM   #5
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,805

Rep: Reputation: 231Reputation: 231Reputation: 231
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-17-2005, 12:36 AM   #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, 01:06 AM   #7
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,805

Rep: Reputation: 231Reputation: 231Reputation: 231
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, 03:01 AM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
You should probably get a copy of the slackbook.
http://www.slackbook.org/
 
Old 11-17-2005, 10: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 05:29 PM
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
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 06:43 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