home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!SMSVMA.bitnet!PHD985W
- From: PHD985W@SMSVMA.bitnet ("Patrick H. Day, Systems Programmer")
- Newsgroups: comp.unix.aix
- Subject: Need assorted low level helps...
- Message-ID: <199209011555.AA12231@cc.ysu.edu>
- Date: 1 Sep 92 15:44:16 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Organization: SOUTHWEST MISSOURI STATE UNIVERSITY
- Lines: 20
-
- 1. Where do you set an inactivity timeout variable? If a user has been
- inactive for over 30 minutes, I would like the 560 to drop them.
-
- 2. Is there a small script file or routine that can be run to limit
- users to only one login session? We have users that have accounts
- logging in on two X-stations to allow those who don't have accounts
- to use the machine. IBM gave us a cute little script file that
- doesn't work.
-
- 3. I would like to write a script file that would compare the /etc/passwd
- file and the /etc/security/lastlogin file to give me a user's name,
- account id and the last date logged in. Is there a program to
- unscramble the time_last_login in /etc/security/lastlogin?
-
- 4. Is there a way to match a users id with the IP address they came in on?
-
- Thank you
-
- Patrick Day
- phd985w@smsvma.edu
-