home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!ekhadafi.austin.ibm.com!curt
- From: curt@ekhadafi.austin.ibm.com (Curt Finch 903 2F021 curt@aixwiz.austin.ibm.com 512-838-2806)
- Newsgroups: comp.unix.aix
- Subject: Re: Need assorted low level helps... -security questions really-
- Message-ID: <1992Sep3.224031.23460@awdprime.austin.ibm.com>
- Date: 3 Sep 92 22:40:31 GMT
- References: <199209011555.AA12231@cc.ysu.edu>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: IBM AWD, Austin
- Lines: 57
-
- I sent your questions to a really smart aix security guy.
- This is his response:
-
- In article <199209011555.AA12231@cc.ysu.edu> PHD985W@SMSVMA.bitnet ("Patrick H. Day, Systems Programmer") writes:
- >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.
-
- A rather hard thing to design actually. If we had a real login server
- which handled all logins, this would be easy. But we don't and so
- it's not.
-
- (note from curt - i'm not aware of any unixes that do)
-
- You'd have to modify all the things that do logins - telnet,
- rlogin, tsm. Some shells try to do this, but this can always be
- defeated if you're persistent enough.
- You also have to clarify what is meant by a login? cron sessions, eg?
- Something which has a real control tty?
-
-
- >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.
-
- It's not clear what he wants. (How can someone without an account use the
- machine?) But you could always do this as an authentication method which
- would simply look at the utmp file to see if the user is already logged
- in, and return failure if so. Every user would have to have this
- authentication method in addition to their normal one.
-
- (note from curt - secondary auth mechs are already supported in
- aix, so u can already do this)
-
- >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?
-
- I didn't do the lastlogin stuff, but I thought this was like the
- BSD command which could ask for the last login time of an arbitrary
- user. If so, this shouldn't be real hard.
-
-
- >4. Is there a way to match a users id with the IP address they came in on?
-
- You could do this by adding an ioctl to the pty driver.
-
- (note from curt - rlogind already does this doesn't it? it tells
- you via 'last' or 'who' what machine someone is logged in
- from, rite?)
- --
- --
- curt@aixwiz.austin.ibm.com (Curt L. Finch) | AIX NFS/NIS Field Quality
- My views are unrelated to those of IBM | Austin, TX
- FICA doesn't help the poor. It mostly goes to old people with incomes >$40k.
-