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: nmm1@cus.cam.ac.uk (Nick Maclaren) Subject: Re: No permission to do a su to root Date: 1998/04/25 Message-ID: <6hsbl6$ebo$1@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 347543005 References: <35404A56.50C573D7@ch.ibm.com> <3540773A.9FB66F6E@agnld.uni-potsdam.de> Organization: University of Cambridge, England Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc In article <3540773A.9FB66F6E@agnld.uni-potsdam.de>, Joerg-Uwe Tessmer wrote: >Rene Akeret wrote: > >> Im not able to do a su to root from any users. A normal login as root is >> possible. >> There is always an error like this : You have no permission to do su. > >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. 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 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. Nick Maclaren, University of Cambridge Computing Service, New Museums Site, Pembroke Street, Cambridge CB2 3QG, England. Email: nmm1@cam.ac.uk Tel.: +44 1223 334761 Fax: +44 1223 334679