LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-02-2004, 10:49 AM   #1
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
Users can't log in unless part of the root group


I really hope somebody knows what happened here, and how to fix it...

I'm running FC1, and for the first time since my re-installation I tried to boot into KDE yesterday. I immediately got the "yor session only lasted less than 10 seconds" error, and here's what the .xsession-errors tells me:

/etc/X11/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "jeff"
mkdtemp: private socket dir: Permission denied

Now I can't even log into gnome. Just the failsafe term or runlevel 3.

So, I tried everything I could think of, like opening the permissions all the way for /usr/bin/X11/sessreg, /var/log/wtmp, /var/run/utmp, and even /var/gdm/:0.Xservers.

Nothing worked.

I logged in as root no problem, created a new user, tried it, and got the same results. I changed my primary user's primary group to root, and I can log in just fine. I checked all the permissions in my home directory (though I did not go any levels lower than that) and they were all owned my the correct user and group; jeff:jeff

So, I assume having root as my primary group starts becoming a security issue, but even if not I'm sure many of you here could see why this will drive me nuts if I dont get it figured out. Any suggestions?

Oh, I might mention that after the failed logins, /var/log/messages give me absolutely nothing to go on. It just shows the session starting for the user, and the next line is the session ending. Argh!!

Please let me know what other info will help ya'll help me...

Thanks as always...
 
Old 12-02-2004, 02:27 PM   #2
huibert.alblas
Member
 
Registered: Jan 2004
Location: Duesseldorf /Germany
Distribution: Gentoo amd64 / Debian
Posts: 226

Rep: Reputation: 30
could it be that the permissions on /tmp are screwed up?

Just a thought.
 
Old 12-02-2004, 02:36 PM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Thanks for the reply, I'll take any thoughts I can get right about now...

I think you may be correct, the perms were a bit tight on /tmp, so I opened it (and everything in it) up with 'chmod -R ug+wx /tmp'

Unfortunately, I am at work now, and I have no idea how to test if this helped or not until I get home. I can ssh into my machine without any of these symptoms, so I don't know how to test it from here. Let me know if you know how I can test it, otherwise I'll check back after I get home this evening....

Thanks again for the reply...
 
Old 12-02-2004, 07:24 PM   #4
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
That was it!! Man, I can't believe I didn't check that. I had already deleted everything in the directory, but failed to check it's permissions.

Good call. Thank you oh so very very much!!!!

Jeff
 
  


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
newbie > root can log in to a gui, users suddenly can't Influx Slackware 18 10-09-2005 10:09 AM
How do I make it so users have to be in the wheel group to su to root? abefroman Linux - Security 7 05-02-2005 01:02 AM
X only loads for root user; Hangs when other users log in (Fedora Core 3) stupidloser Linux - General 1 11-29-2004 05:13 AM
non-root users can't log in (RH9) skullmunky Linux - Security 1 11-17-2004 11:41 AM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 07:01 PM


All times are GMT -5. The time now is 10:41 AM.

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