Well, if you want really good security, then password protect lilo and take
out your floppy drive,,,(or alternatively turn it off in the bios. and then
password the bios... although that can be undone in most cases by simply
clearing the bios with a jumper on the motherboard.)

I have lost my password many times when I first started installing linux.,,
back in the RH4 days,, and I must say, being able to boot linux-single, has
saved me many a time.

I am glad that you can do it, but also glad that there are ways to stop
others,, (I also have a lock on my server room door.)



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Piety
Sent: Monday, 19 February 2001 1:58 AM
To: [EMAIL PROTECTED]
Subject: RE: [expert] Root Password


What a scary thread this is. I never realized it could be so easy to
take control of someone's Linux box. Or did I miss a key element of the
discussion? Why even have a password at all?

On 19 Feb 2001 01:30:43 +0800, Franki wrote:
>
> actually, just going in and typing "passwd root" and entering a new one
> should work fine too, it will overwrite the one that is there now,, that I
> did many times in RH6.2 also.
>
>
> hope this helps.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Carville
> Sent: Monday, 19 February 2001 1:28 AM
> To: Mandrake Expert
> Subject: Re: [expert] Root Password
>
>
> On Sun, 18 Feb 2001, John J. LeMay Jr. wrote:
>
> - ** Reply to message from Kuldeep Shah <[EMAIL PROTECTED]> on Sun, 18
> Feb
> - 2001 15:10:09 +0530
> -
> -
> - > I forgot the password of root
> -
> - I haven't tried this, but I think you can delete the password from
> /etc/shadow
> - (assuming you are using shadow passwords) and root will need to enter a
> new
> - password next time you login with that id.
>
> Type 'linux 1' (or 'linux single') at the lilo prompt.  This drops you to
> single user mode with root privileges.  From there edit /etc/shadow and
> delete the password for root.  Make sure you delete the whole hash and
> have nothing between the colons.  It should look something like:
>
> root::11342:0:99999:7:::
>
> Reboot or type 'init 3'.  You should now be able to login as root with no
> password.  Change the root password.
>
> Set up sudo to make it easier in the future.
>
> --
> --Stephen Carville
> http://www.heronforge.net/~stephen/gnupgkey.txt
> ==============================================================
> Government is like burning witches:  After years of burning young women
> failed to solve any of society's problems, the solution was to burn more
> young women.
> ==============================================================
>
>
>
>



Reply via email to