Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: sstiasni@irb.hr (Sasa Stiasni)
Subject: Re: No permission to do a su to root
Date: 1998/04/26	[thread overview]
Message-ID: <slrn6k5rpa.fq2.sstiasni@rudjer.irb.hr> (raw)
In-Reply-To: 35420AA2.13886983@iisc.com


On Sat, 25 Apr 1998 12:09:06 -0400, Charles M Richmond <cmr@iisc.com> wrote:
>Nick Maclaren wrote:
>> 
>> In article <3540773A.9FB66F6E@agnld.uni-potsdam.de>,
>> Joerg-Uwe Tessmer  <jut@agnld.uni-potsdam.de> 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




  reply	other threads:[~1998-04-26  4:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-24  4:00 No permission to do a su to root Rene Akeret
1998-04-24  4:00 ` Joerg-Uwe Tessmer
1998-04-25  4:00   ` Nick Maclaren
1998-04-25  4:00     ` Charles M Richmond
1998-04-26  4:00       ` Sasa Stiasni [this message]
1998-04-25  4:00     ` Steinar Haug
1998-04-25  4:00       ` Nick Maclaren
1998-04-25  4:00         ` Steinar Haug
1998-04-26  4:00           ` Nick Maclaren
1998-04-26  4:00         ` Daniel S. Riley
1998-04-26  4:00           ` Nikola Milutinovic
1998-04-26  4:00             ` Sasa Stiasni
1998-04-27  4:00             ` Daniel S. Riley
1998-04-28  4:00               ` Nikola Milutinovic
1998-04-24  4:00 ` Korbinian Grote
1998-04-24  4:00 ` Kjell Andresen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox