home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!psinntp!grolsch!davids
- From: davids@ctr.com (David Stein)
- Subject: Re: shutdown by user
- Message-ID: <1992Aug13.180112.2505@ctr.com>
- Organization: CTR Business Systems
- References: <2964@accucx.cc.ruu.nl> <o6a8rsk@zuni.esd.sgi.com> <165806INNmgs@agate.berkeley.edu>
- Date: Thu, 13 Aug 1992 18:01:12 GMT
- Lines: 17
-
- In article <165806INNmgs@agate.berkeley.edu> dasilva@eero.ced.berkeley.edu (Ruieta Da Silva) writes:
- >
- >Another way to let anyone shutdown the computer is to create an
- >account called shutdown and have the .profile or .login
- >contain 'init 0'.
- >
- >the passwd entry would look like:
- >shutdown::0:0:shutdown:/usr/people/shutdown:/bin/sh
- >
- >Deanan
-
- This techique leaves a security hole in it when a user
- uses the su command (ie su shutdown) since by default the
- .login or .profile is not read by default. Upon su to shutdown
- the user has superuser privledges, and the system is not halted.
-
- stein@ctr.com
-