home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / admin / 6608 < prev    next >
Encoding:
Text File  |  1992-12-12  |  1.7 KB  |  40 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!van-bc!rsoft!mindlink!a3431
  3. From: Neklan_Brozensky@mindlink.bc.ca (Neklan Brozensky)
  4. Subject: Re: SUMMARY: How to keep users from logging in
  5. Organization: MIND LINK! - British Columbia, Canada
  6. Date: Sat, 12 Dec 1992 20:24:28 GMT
  7. Message-ID: <18409@mindlink.bc.ca>
  8. Sender: news@deep.rsoft.bc.ca (Usenet)
  9. Lines: 29
  10.  
  11. > Marc Fournier - Admin writes:
  12. >
  13. > Msg-ID: <1992Dec09.180324.21093@r-node.gts.org>
  14. > Posted: Wed, 09 Dec 1992 18:03:2
  15. >
  16. > Org.  : R-node Public Access UNIX Information System (416-249-5366)
  17. >
  18. > In article <1992Dec8.181744.770@progress.com> rich@progress.COM (Rich
  19. > Lenihan) writes:
  20. > >
  21. > >3.  Hack (or get pre-hacked) source for login program with /etc/nologin
  22. > >functionality already built in.  While I don't really mind installing
  23. > >roll-your-own software, I don't have the time to support it.
  24. > >
  25. >         Well...there is a 'login' replacement for SysV that I'm using
  26. > here that I haven't had a problem with yet...and it has a file called
  27. > /etc/usrtime that allows you to restrict access to specific users, or
  28. > times, or lines....or just restrict everyone like you want.  It will
  29. > also present the user with a message as to 'why' they are locked out.
  30.  
  31. Perhaps I'm missing the point of what's trying to get accomplished here, but
  32. has someone suggested just editing the /etc/profile and have a shell script
  33. check to some other file which contains users you don't want on or what ever
  34. criteria of exclusion you want to use.
  35.  
  36. In some other thread some time ago... someone said never hack when you can
  37. use a shell wrapper.  If I go and put someone else's hacked login program on
  38. my computer, (which is what is being suggested here) I really don't know
  39. *what* kind of security risk I've got.
  40.