Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 07:18:29 -0800 (PST)
From:      Hiten Pandya <hitmaster2k@yahoo.com>
To:        "Vladimir B. Grebenschikov" <vova@express.ru>
Cc:        current@freebsd.org
Subject:   Re: [SUGGESTION] - disallowing shutdown after su(1)
Message-ID:  <20011122151830.64294.qmail@web21107.mail.yahoo.com>
In-Reply-To: <15357.4649.86766.85777@vbook.express.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
its ok...
but is there a list of problems that are awaiting to
be resolved in the CURRENT branch...

thanks...

--- "Vladimir B. Grebenschikov" <vova@express.ru>
wrote:
> Hiten Pandya writes:
>  > hi all,
>  > 
>  > correct me if i am wrong.. but..
>  > do you think, if we denied a shutdown after an
> su(1)
>  > to root from a non-privileged user would be
> good...
>  > 
>  > i tried this same thing at home.. i builded it
> and
>  > installed it.. works fine for me... the patch
> below
>  > will allow a shutdown only be logging into root
> itself
>  > and not by issuing an su(1) command to root.
>  > 
>  > this would be very good, i think if someone broke
> into
>  > a normal user and was able to gain access into
> root
>  > using su... (without a password..)
>  > 
>  > i am submitting a tar.gz file, which has the
> patch for
>  > the shutdown.8 manpage, and shutdown.c located
> at..
>  > src/sbin/shutdown.c...
> 
> I think this idea have no any sence because beeing
> root you CAN
> shutdown machine not depending on how you became
> root.
> 
> few examples:
>   # kill -USR2 (see init(8) - halt)
> 
>   build fresh shutdown 
> 
>   halt -q
> 
> so ...  
> 
>  > thanks...
>  > 
>  > 
>  > =====
>  > regards,
>  > Hiten Pandya
>  > <hitmaster2k@yahoo.com>
>  > <http://geocities.com/hitmaster2k>;
>  >
> ----------------------------------------------------
>  > Guys!... stay away from Einstein Junior!
>  >
> ----------------------------------------------------
>  > 
>  >
> __________________________________________________
>  > Do You Yahoo!?
>  > Yahoo! GeoCities - quick and easy web site
> hosting, just $8.95/month.
>  > http://geocities.yahoo.com/ps/info1
> --
> TSB Russian Express, Moscow
> Vladimir B. Grebenschikov, vova@express.ru


=====
regards,
Hiten Pandya
<hitmaster2k@yahoo.com>
<http://geocities.com/hitmaster2k>;
----------------------------------------------------
Guys!... stay away from Einstein Junior!
----------------------------------------------------

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011122151830.64294.qmail>