From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1027fc5b9d052abb X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,1027fc5b9d052abb X-Google-Attributes: gidf678f,public From: Charles M Richmond Subject: Re: No permission to do a su to root Date: 1998/04/25 Message-ID: <35420AA2.13886983@iisc.com>#1/1 X-Deja-AN: 347601505 Content-Transfer-Encoding: 7bit References: <35404A56.50C573D7@ch.ibm.com> <3540773A.9FB66F6E@agnld.uni-potsdam.de> <6hsbl6$ebo$1@lyra.csx.cam.ac.uk> Content-Type: text/plain; charset=iso-2022-jp Organization: Integrated International Systems Corp. Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc 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. -- *********************************************************************** * Charles Richmond Integrated International Systems Corporation * * cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net * * UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W * * One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 * * (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 * ***********************************************************************