home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!eagle!galaxy.lerc.nasa.gov!hubler
- From: hubler@galaxy.lerc.nasa.gov (Dale Hubler)
- Subject: Re: Inhibit root login on pty's ?
- Message-ID: <1993Jan21.124445.24169@eagle.lerc.nasa.gov>
- Sender: news@eagle.lerc.nasa.gov
- Nntp-Posting-Host: galaxy.lerc.nasa.gov
- Organization: NASA Lewis Research Center
- References: <HHViXB7w165w@samhh.hanse.de>
- Date: Thu, 21 Jan 1993 12:44:45 GMT
- Lines: 31
-
- In article <HHViXB7w165w@samhh.hanse.de> muehlenw@samhh.hanse.de (Stefan A. Muehlenweg) writes:
- >Hi Folks,
- >
- >does somebody know, how I can inhibit direct login as 'root' from another
- >place as console?
- >
- >An a Sun (or Apollo) I can do that by editing /etc/ttytab and delete the
- >word 'secure', so I'm able to control, who did administrative things from
- >everywhere, because it's only possible to log in as normal user and to 'su'
- >to root, if the user is in group 'wheel'.
- >
- >How can I forbid direct root login from other places than 'hft/0' alias
- >'console'?
- >
-
- I just have the following lines in the /etc/security/user file
-
- root:
- admin = true
- rlogin = false
- telnet = false
-
-
- This prevents root logins from anywhere other than the console. Of
- course, one can still log in and su to root.
-
- Dale
-
- --
- Dale A. Hubler (216) 977-7014 hubler@lerc.nasa.gov
- For each and every low-tech problem there exists a high-tech solution
-