From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,1027fc5b9d052abb X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,1027fc5b9d052abb X-Google-Attributes: gidfee84,public From: sthaug@nethelp.no (Steinar Haug) Subject: Re: No permission to do a su to root Date: 1998/04/25 Message-ID: <6hse83$dk2$1@verdi.nethelp.no>#1/1 X-Deja-AN: 347546949 References: <35404A56.50C573D7@ch.ibm.com> <3540773A.9FB66F6E@agnld.uni-potsdam.de> <6hsbl6$ebo$1@lyra.csx.cam.ac.uk> X-Complaints-To: news-abuse@uninett.no X-Trace: snipp.uninett.no 893500564 1743 195.1.171.130 (25 Apr 1998 10:36:04 GMT) Organization: Nethelp Consulting, Trondheim, Norway Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc [Nick Maclaren] | >only you are a member of the group 0 (/etc/group), then you have | >permissions to su to root. | | Which is one of the most idiotic security features that I have ever met. On the other hand, some of us find it quite useful. | A typical Unix system may have half-a-dozen documented ways to become | root, and this restriction affects none of the others. For example: | | login (sometimes, but with some constraints) | rlogin `hostname` -l root | telnet `hostname` | xdm On the system where I'm typing this, you can only login directly to root on the physical console. None of the methods you mentioned here work, for good reasons. | I have fairly often been caught by a major upgrade overwriting /etc/group, | so su doesn't work, and have never had any difficulty in bypassing the | check. This may apply to *your* system. Please don't assume it applies to all other systems. Having limitations on who can su to root is not a panacea. But in some situations it *does* give you some extra protection which is worth having. Steinar Haug, Nethelp consulting, sthaug@nethelp.no