Restricting the user *LINUX RED HAT*


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Restricting the user *LINUX RED HAT*
# 1  
Old 03-06-2007
Restricting the user *LINUX RED HAT*

Hats of to all the members for providing the detailed guidence to the newbe !! Smilie

I am working on Red Hat LINUX plateform, where the number of users are
more that 50. The problem I m facing is that all the user are opening the virtual terminals and leave it unattended for hours together and it hampers the working of my Networks and slows down considerably.Can any one suggest how to control it from the SERVER side ?? Is there anything which can sort it out ??

Thanks in advance Newbe on this forum
Smilie
# 2  
Old 03-07-2007
I could think of,

using the 'w' command

and from that identify the idle time of a user-tty combination
# 3  
Old 03-07-2007
You can use either w or finger to identify the idle logins and their idle time.
Use sys variable TMOUT to set a timeout value for a particular login
# 4  
Old 03-07-2007
If you're using pam_limits you can restrict users and groups in various ways through /etc/security/limits.conf - for example here we see that I've restricted the maximum number of logins for members of group "groupname" to 4.
Code:
# grep pam_limits /etc/pam.d/system-auth
session     required      /lib/security/pam_limits.so
# grep '^[^#].*maxlogins' /etc/security/limits.conf 
@groupname        hard    maxlogins       4

If you're not using pam_limits , you can do something like this.

Cheers
ZB
# 5  
Old 03-07-2007
Bug Linux Red Hat

Bundles of THANX Dear Matrixmadhan,jacoden & zazzybob

I would like to make me more clear. My main problem was how to restrict the various users from using the virtual terminals from SERVER side. By w I may get who are presently working and I may became su and kill but that creates
problems ,i.e. the particular recors which is being last held by the respective user will get locked and file becomes unusable till I restart the SERVER.

Hence I would like the clean way to restrict the users. The zazzybob's way I shall try and will inform the FORUM accordingly. Bye buddies . Thanx once again all for sparing your valuable time.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies

2. Red Hat

Control M user permissions on Red Hat Linux

All, Requirement: Permissions Required for Control M on Linux I am using the Linux as the operating system. I am told to get an user configured for Control M on Linux. The user would be an authenticated user created by the client. The user created requires permissions to be made available so... (2 Replies)
Discussion started by: Roadies99
2 Replies

3. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

4. Red Hat

startx by non-root user account in red hat linux kernel 2.6

How can I use the command "startx" by other user account such as "oracle" ?? I cannot startx by user account oracle ?? How to fix it ??? Any adivce ??? I use red hat linux kernel 2.6 $ startx Fatal server error: PAM authentication failed, cannot start X server. Perhaps you do... (0 Replies)
Discussion started by: chuikingman
0 Replies

5. Virtualization and Cloud Computing

Red Hat Linux Serial Number using non-root user

Hi All, Is there any way to find out the Serial Numbers in Red Hat Linux machines with a non-root user? I know we can find using the dmidecode command, but it needs root privilege. I want to access this information using a non-root user. Any help will be greatly appreciated. :) Many... (2 Replies)
Discussion started by: vineetd
2 Replies

6. Linux

Red Hat Linux 9

Hello there! Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read. Thanks for cooperation in advance. Enjoy using open source and breathe freely! JAM (5 Replies)
Discussion started by: Jawwad
5 Replies

7. UNIX for Dummies Questions & Answers

New User, New Install Red Hat 9, need serious Instruction

Hey... I'm so proud of myself. After nearly 13 hours of trying to get Red Hat installed on my PC I got it on here. But I'm having all sorts of problems. First the boot loader is corrupted and all I get is LI and then the computer freezes. But I can boot fine from the floppy that was made during... (2 Replies)
Discussion started by: garfunkle
2 Replies

8. UNIX for Dummies Questions & Answers

XP to Linux (Red Hat)

I have a PC running XP, and I have a PC that dual boots W2K and Red Hat Linux 7.3. I have the two connected via crossover cable, and the two can access each other when both are running windows. If I were to boot up Linux, can my XP PC telnet to the Linux PC? Any pointers or websites to... (3 Replies)
Discussion started by: lawadm1
3 Replies

9. UNIX for Dummies Questions & Answers

Slackware's Linux 3.0 VS Red Hat Linux 7.x

Hello guys, I got overzealous (I Think). I got the book Linux Unleashed that comes with the Slackware 3.0 Version of Linux for $2.00.I also have Red Hat Linux 7.2 (No book, just the OS).What I wanted to know was,other than the bells and whistles of Red Hat is there any significant difference... (2 Replies)
Discussion started by: perrylx
2 Replies

10. UNIX for Dummies Questions & Answers

Red Hat Linux 6.0

Ok here is my problem i do not know the command to load a driver for my network card in Ted hat linux 6.0 could sombody give me a hand. and if there is anyone that has a list of commands for red hat that would be great also (2 Replies)
Discussion started by: bbutler3295
2 Replies
Login or Register to Ask a Question