inactivity default to 30 days

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat inactivity default to 30 days
# 1  
Old 11-25-2009
inactivity default to 30 days

Hi All,

On red hat ent 4. How do I make the inactivity a default to 30 days? What config file I need to modify so that I will not modify /etc/shadow?

Thanks for any comment you may add.
# 2  
Old 11-25-2009
Your question is unclear. Are you talking about locking a users account after X number of days of inactivity? If so, there is no global way of doing it as far as I know without editing /etc/shadow.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

User inactivity

Simple question: for determining whether the user has exceeded the maximum amount of "inactivity" (as set in the shadow file) what date is the current login being compared to? Is it wtmp data or something? (3 Replies)
Discussion started by: thmnetwork
3 Replies

2. AIX

last - find out inactivity

I am on AIX 6.1, and need to find out who has not accessed the system within 1, 2, or 3 months depending upon the filter I specify. The output I need to have is the account name and the last time accessed: i.e. kart Mar 27 05:13 - 05:13 (00:00) Please advise. (5 Replies)
Discussion started by: Daniel Gate
5 Replies

3. Shell Programming and Scripting

Shell exit due to inactivity

I am installing an executable files. It takes around 30 minutes. During this time...the shell pops the msg "due to inactivity shell pops out in 60 seconds. I dont want this to happen. the terminal shouldnt exit at all. Is there any way that it doesnt exit.I am using putty with ksh (7 Replies)
Discussion started by: sriki32
7 Replies

4. UNIX for Dummies Questions & Answers

lock the console after 5 minutes of inactivity.

How would i force The server console to be locked automatically after 5 minutes ? I want it to happen for X as well as terminal session of the machine. My Linux distribution details. LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID:... (11 Replies)
Discussion started by: pinga123
11 Replies

5. IP Networking

TCP server dies after few hours of inactivity

We have a NAS application which can be accessed by both HTTP and HTTPS connections. The issue we are facing is that the tcp server instance that initiates the HTTP access dies after a few hours of inactivity(the NAS application was kept idle for around 10 hours). However, the tcpserver that... (1 Reply)
Discussion started by: swatidas11
1 Replies

6. Solaris

solaris 9 console inactivity timeout

All, I log into Solaris 9 server through a command line at the console and want enable a inactivity timer to log out of the server after 5 minutes. How can it be done? (1 Reply)
Discussion started by: bubba112557
1 Replies

7. Shell Programming and Scripting

ls latest 4 days or specify days of files in the directory

Hi, I would like to list latest 2 days, 3 days or 4 days,etc of files in the directory... how? is it using ls? (3 Replies)
Discussion started by: happyv
3 Replies

8. UNIX for Advanced & Expert Users

User inactivity at OS level

Dear friends, Can anyone let me know how to configure various OS mentioned below to get user ids deactivated automatically if not logged in at all for a period of, say, 45 days? 1. UNIX / Linux / AIX / Tru64 2. It is OK whether the solution is by running OS commands / running scripts written... (1 Reply)
Discussion started by: bache_gowda
1 Replies

9. SCO

Apparent logoff’s due to inactivity.

I have run across an issue with the last two Dell Poweredge servers I have attempted to deploy. I seems that when a telnet session sits idle for 5 to 30 minutes (seems random) the session is being closed and users are logged off. If the session has user activity there is no problem staying... (0 Replies)
Discussion started by: gadgetman
0 Replies
Login or Register to Ask a Question