LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2005, 04:53 PM   #1
Pastorino
Member
 
Registered: Jul 2004
Distribution: RHEL 6.2
Posts: 35

Rep: Reputation: 15
GDM: one login per user


Hi everyone,

I configured a server running Fedora Core 3. The server allows diskless clients to connect to it using GDM.

What I didn't figure out is to allow only one connection per user. I know that gdm.conf has the configuration below:

DoubleLoginWarning=true

but all that it does is to warn the user with:

"You are already logged in. You can log in anyway or abort this login".

Is there a way to block subsequent logins from the same user, if he tries to login from another client?

Thanks,

Pastorino
 
Old 05-09-2005, 08:01 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Look in the manual for PAM. If you have the pam documentation installed, there is a PAM Administrators manual. Look in:/usr/share/doc/packages/pam/pdf/pam.pdf

The pam_limits module ( Section 6.12 ) has a setting in it's config file for maxlogins.

This may not be a complete solution if your system uses more than one server.
 
Old 05-10-2005, 02:19 PM   #3
Pastorino
Member
 
Registered: Jul 2004
Distribution: RHEL 6.2
Posts: 35

Original Poster
Rep: Reputation: 15
Worked perfectly.

Many thanks.

Pastorino
 
  


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
How to run a Script as root, after Login as User, in GDM MHOOO Red Hat 14 03-08-2005 09:41 AM
KDE user wants gnome GDM login. qwijibow Slackware 11 07-04-2004 10:34 AM
gdm login help moschi Linux - Newbie 2 07-03-2004 01:30 PM
winbind + samba + gdm unable to login with Domain user theowl Linux - Networking 1 06-11-2004 09:30 AM
gdm login with normal user (gentoo) wi-Z-art Linux - General 0 10-18-2002 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration