LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-19-2014, 01:38 PM   #1
andrew44
Member
 
Registered: Apr 2011
Posts: 31

Rep: Reputation: 0
389 Desktop machines can not login using gui.


Hi,

I have set up 389 directory server and I think it works..

I have configured a test desktop machine.

getent passwd | grep /home
..
...
KathySmith:*:530:530:Kathy Smith:/home/KathySmith:/bin/bash
ASmith:*:601:601:Andrew Smith:/home/AndrewSmith:/bin/bash
....

Via ssh ASmith can log in

Jan 19 12:22:22 desktop sshd[5220]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=laptop.example.com user=ASmith
Jan 19 12:22:22 desktop sshd[5220]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=laptop.example.com user=ASmith
Jan 19 12:22:22 desktop sshd[5220]: Accepted password for ASmith from 10.0.1.12 port 52082 ssh2
Jan 19 12:22:22 desktop sshd[5220]: pam_unix(sshd:session): session opened for user ASmith by (uid=0)


VIA gui ASmith can login

Jan 19 12:23:18 desktop pam: gdm-password: pam_unix(gdm-password:auth): authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=ASmith
Jan 19 12:23:18 desktop pam: gdm-password: pam_sss(gdm-password:auth): authentication success; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=ASmith
Jan 19 12:23:19 desktop pam: gdm-password: pam_unix(gdm-password:session): session opened for user ASmith by (uid=0)
Jan 19 12:23:19 desktop polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session25 (system bus name :1.214, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 19 12:23:20 desktop polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session26 (system bus name :1.223 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

But for some users H for example I can ssh in

==> /var/log/secure <==

Jan 19 12:28:17 desktop sshd[6149]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.0.1.21 user=hh
Jan 19 12:28:17 desktop sshd[6149]: Accepted password for hh from 10.0.1.21 port 53319 ssh2
Jan 19 12:28:17 desktop sshd[6149]: pam_unix(sshd:session): session opened for user hh by (uid=0)

But for gui

Jan 19 12:32:14 desktop pam: gdm-password: pam_sss(gdm-password:auth): authentication success; logname= uid=0 euid=0 tty=:0 ruser= rhost= user=hh
Jan 19 12:32:15 desktop pam: gdm-password: pam_unix(gdm-password:session): session opened for user hh by (uid=0)
Jan 19 12:32:15 desktop polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session33 (system bus name :1.282, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 19 12:32:15 desktop pam: gdm-password: pam_unix(gdm-password:session): session closed for user hh
Jan 19 12:32:17 desktop polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session35 (system bus name :1.293 [/usr/libexec/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)

It seems that the desktop loads but then immediately quits and goes back to the login screen again.

SELINUX is off.

[root@desktop ~]# getenforce
Permissive


Any ideas?
 
Old 01-20-2014, 07:01 PM   #2
andrew44
Member
 
Registered: Apr 2011
Posts: 31

Original Poster
Rep: Reputation: 0
No one?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
389 directory server - client unable to login. chengli Linux - Server 4 01-19-2017 01:52 AM
How to auto-login the GUI Desktop rebornor Linux - Server 4 06-01-2012 07:47 PM
run gui app after login before the desktop session maradnus Linux - Newbie 2 10-19-2009 08:42 AM
gnome desktop help screen automatically comes up after gui login finishes nkd Linux - Software 5 12-21-2008 12:46 PM
LDAP user cannot login with GUI desktop pazzport Linux - Desktop 0 09-11-2008 12:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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