Re: [LINUX:3587] ROOT Pass

Selami.Aksoy@FliPPeR.BiTaV.Org.TR
Sat, 13 Dec 1997 15:13:39 +0200 (EET)


On Sat, 13 Dec 1997, Berk wrote:

> Sabah geldigimide root passwordun calismadigini gordum... Root haric
> herkersi iceri aliyor. ancak "su" ile de root alinamiyor. Herlade
> sisteme birseyleroldu. cunku , /etc/issue dosyasina baska sey yazmama
> ragmen, sabah geldigimde gene "Welcome to Linux2.0.30"
> yaziyordu...
> Bir geri donus var mi.
>
> Cok acele cevap !
boot ve root disketiyle aC
Ondan sonra root partitionunu mount et
Daha sonra etc directory sine gir
$ echo >> passwd
deneme::0:0::/:/bin/bash

Daha sonra deneme olarak ta login olup root'un passwordunu deGiStirirsin..

/etc/issue iCin de ..
eGer linux'u yen kurduysan zaten o Sekilde geliyor. Sen /etc/issue iCine
birSeyler yazsan da aCIlISta kendisi bunu degiStirecektir.
Tabi ki /etc/rc.d/rc.S dosyasIndaki gerekli yerlerin baSIna #
koymadIysan..
--------------
# Setup the /etc/issue and /etc/motd to reflect the current kernel level:
# THESE WIPE ANY CHANGES YOU MAKE TO /ETC/ISSUE AND /ETC/MOTD WITH EACH
# BOOT. COMMENT THEM OUT IF YOU WANT TO MAKE CUSTOM VERSIONS.
echo > /etc/issue
echo Welcome to Linux `/bin/uname -a | /bin/cut -d\ -f3`. >> /etc/issue
echo >> /etc/issue
echo "`/bin/uname -a | /bin/cut -d\ -f1,3`." > /etc/motd
----------------
echo ile baSlayan yerlerin baSIna # koyup /etc/issue dosyasInI yeniden
dUzeltirsen sorunun hallolur.
Kolay gelsin.

---
SaygIlar, Sevgiler

SeLaMi.