LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-06-2008, 11:40 AM   #1
g2yeux
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
I'm having problem setting the maximum logins per user in RH 7.2


I added this to /etc/security/limits.conf

@group - maxlogins 1
(where group is the groupname I wish to limit its members to only one login per user)

users in the group cant still login many times with the same username.

setting the value to 0 prevents the group user from loging in.

I tried using the username instead of the group, same results.

Thanks in advance
 
Old 06-06-2008, 12:16 PM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 416

Rep: Reputation: 53
This isn't really going to answer the question, I know... but why are you using Redhat 7.2 in the first place?

That version of Redhat is... umm... seven years old now, and hasn't been updated in five or six years, I think. This means that the OS is insecure and if it is on the internet, it is probably compromised already.

Please update to a more recent version of linux, whether that be CentOS, Ubuntu, or Fedora.
 
Old 06-17-2008, 09:48 AM   #3
g2yeux
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
re: I'm having problem setting the maximum logins per user in RH 7.2

upgrade is not a valid option, I have an application running that does support a newer version of the OS.

This server is not on the internet, security should be fine.
 
  


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
setting maximum folder size msound Linux - General 5 03-26-2010 12:36 PM
One user login cannot start scim, other user logins and root OK allend Slackware 3 05-08-2008 08:25 PM
Maximum setting for ID group membership polar_bear Linux - Server 5 01-26-2008 12:04 PM
setting some maximum download speed kiwibird Linux - Networking 2 06-27-2005 08:22 AM
Setting maximum size of windows desheikh Linux - General 5 03-17-2005 09:43 AM


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