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: sstiasni@irb.hr (Sasa Stiasni) Subject: Re: No permission to do a su to root Date: 1998/04/26 Message-ID: #1/1 X-Deja-AN: 347947370 References: <35404A56.50C573D7@ch.ibm.com> <3540773A.9FB66F6E@agnld.uni-potsdam.de> <6hsbl6$ebo$1@lyra.csx.cam.ac.uk> <35420AA2.13886983@iisc.com> Reply-To: sstiasni@irb.hr Organization: IRB,Zagreb,Croatia Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc On Sat, 25 Apr 1998 12:09:06 -0400, Charles M Richmond wrote: >Nick Maclaren wrote: >> >> 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 it sounds like your system has already been hacked. My DUnix 4.0b >system reacts as follows: > >koibito> rlogin koibito -l root >Password: >root login refused on this terminal. >************************************************ > >koibito> xdm >Only root wants to run xdm >************************************************ > >koibito> telnet koibito >Trying 198.5.5.5... >Connected to koibito.iisc.com. >Escape character is '^]'. > > >Digital UNIX (koibito.iisc.com) (ttyq2) > >login: root >Password: >root login refused on this terminal. >************************************************ >koibito> login >login: root >Password: >root login refused on this terminal. >************************************************ > > >All of your suppositions are incorrect from the start. But, I think, the main point here was that you can hack root if you have an account an DU, and 'su' restrictions doesn't help there.. :-) I find this restriction OK for dumb users but there are few advanced on my machine, and I'm waiting for the day when they find out about general DU hole, that any user can get root access (overwrite any file on system..). I'm searching for the patch, there's none yet, and noone seems to work on it.. Sasa -- mailto: sstiasni@irb.hr