LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-08-2005, 10:36 AM   #1
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Rep: Reputation: 15
Question newb: can't login correctly as normal user


i try add normal user with 'adduser' command, everything looks fine
until i try to login with this new username, there is a message:

No directory, logging in with HOME=/
/dev/tty1: Permission denied

i'm sure there is a /home/<username> directory and nothing wrong with permission

question changed see:http://www.linuxquestions.org/questi...82#post1396582 below

Last edited by eeyoree; 01-08-2005 at 01:39 PM.
 
Old 01-08-2005, 10:48 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Is that programming question? I do not understand what you're trying to do?
 
Old 01-08-2005, 10:56 AM   #3
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
ah, forget the PHP part. thats may sig

i think i'll remove them now
 
Old 01-08-2005, 10:58 AM   #4
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
Do a

grep <username> /etc/passwd

and verify once more that the home (the 6th field) really exists. If it does, post the output of

ls -ld /home/<username>
 
Old 01-08-2005, 11:02 AM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
If you add user and you're still on initial terminal then call for DM< > Not Dungeon Master but Desktop Manager of your liking such as
$gdm
or kdm or xdm if you may
Login from there as normal user
 
Old 01-08-2005, 11:04 AM   #6
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
yes, offcourse it is there

btw, here is my ls -ld /home/xyz
drwx--x--x 2 xyz users 4096 Jan9 00:00 /home/xyz
 
Old 01-08-2005, 11:07 AM   #7
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
no, im not using a DE just openbox

login in text mode, and startx
 
Old 01-08-2005, 11:13 AM   #8
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Then it's only the permission problem. Have you tried evil chmodding yet?
 
Old 01-08-2005, 11:31 AM   #9
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
yes, i've already tried chmoding /home/xyz
as i post above owner of /dev/xyz is 'xyz' and group of /dev/xyz is 'users'
nothing wrong right?



note: when chmoding /dev/tty1 it will return to default permission when reboot
 
Old 01-08-2005, 11:38 AM   #10
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
If chmod 666 has not worked either, then smth is more serious then that
 
Old 01-08-2005, 11:43 AM   #11
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
i even has tried 777
 
Old 01-08-2005, 11:48 AM   #12
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
May I ask what's wrong in using DM? DM seems like easy solution to me...
 
Old 01-08-2005, 12:15 PM   #13
sharper
Member
 
Registered: Aug 2002
Location: MN USA
Distribution: slakware 9.0
Posts: 121

Rep: Reputation: 15
Reaching here, but what does /etc/passwd have for the shell? If it somehow got set to an invalid shell the user can not login. It should probably be /bin/bash
 
Old 01-08-2005, 01:35 PM   #14
eeyoree
Member
 
Registered: Aug 2004
Distribution: Slackware Ten
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by SlackerLX
May I ask what's wrong in using DM? DM seems like easy solution to me...
GNOME and KDE too bloated for me
even XFCE (/me using XFCE before) now seems no longer free cholesterol again...









BTW, now i change my question:

what should it be/or the best for:
- owner, group and chmod for /home
- owner, group and chmod for /home/username
- owner, group and chmod for /dev
- owner, group and chmod for /dev/* (like /dev/dsp, /dev/tty?)
 
Old 01-08-2005, 01:39 PM   #15
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
Since I have ssh access disabled I use 666 for everything. Works for me. I do not care if it's evil coding or some other bullsh#t!
 
  


Reply



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 On
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
error login as normal user mandrakelinux Slackware 8 11-17-2005 09:02 AM
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 - General

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