[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breaking UNIXes from the Console



I did it not once.


Eli Marmor wrote:

> Hi!
>
> The issue of breaking Linux from the console and/or achieving root
> permissions, arises again and again. As you can guess, the problem
> is not Linux' only. I know it for years, and once, even used it to
> solve a problem of a customer who forgot the root's password
> (instead of using the classic ways, I only replaced the function in
> the kernel which decides if you have the priviledged permissions,
> to a function which returns always true. The part which took most
> of the time needed, 20 moments, was learning the Assembly of the
> 68030, and what is needed to return true in this Assembly...).
>
> Today, I saw the following message (from an Indian man) in a mailing
> list of Solaris; It uses the fact that the installation media of
> Solaris is already a system ready for booting and running (as some
> of the distributions of Linux):
> ____________________________________________________________________
>
> Subject: Re: S-x86; more of a sparc question/root passwd lost
>
> Insert your Solaris CD in drive
>
> Press STOP-A
>
> OK> boot -s cdrom
>
> # mount -F ufs /dev/dsk/c0t0d0s0 /mnt    <------   Replace c0t0d0s0
> with root slice of your boot disk
>
> # cd /mnt/etc
>
> # vi shadow
>
> Remove the encrypted password string from entry  of root
>
> Save the file
>
> # cd /
>
> # umount /mnt
>
> # reboot
>
> This should solve your problem
>
> Kamal
>
> ____________________________________________________________________
>
> Please try it only on YOUR system!
>
> --
> Eli Marmor
> marmor@elmar.co.il
> El-Mar Software Ltd.



--
------------------------------------------------------------------------------
                      Computer Center of Haifa University
                       Mount Carmel, Haifa 31905, Israel
------------------------------------------------------------------------------
Constantin Eizner                      |    Tel. 972-4-8249299
Network Engineer                       |    Fax. 972-8249177
Unix System Administrator              |    E-mail eizner@research.haifa.ac.il