lkml.org 
[lkml]   [1998]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectuid wrapping was Giving a user root access
On Wed, 12 Aug 1998, Richard B. Johnson wrote:

> On Wed, 12 Aug 1998, Dirk Hunter wrote:
>
> > Hi,
> >
> > Is it possible to give a user root access to a machine without using
> > su???
> >
> >
>
> Sure...
> # chmod 777 /etc/passwd
> ...or...
> root::0:0:System Administration:/root:/bin/bash
> user::0:0:System Administration:/user:/bin/bash
> ... Then put your machine on the Internet ...
>
> Er no. Sorry I couldn't resist!

toor1::8493:100:toor:/tmp:/bin/bash
8493= root user

Why on earth is that allowed to wrap btw ?
Anyone know why?

Gerhard

--
Gerhard Mack
irc admin skyline.starchat.net

gmack@imag.net
innerfire@starchat.net

As a computer I find your faith in technology amusing.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.378 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site