SeLam,
> 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.
LILO promptunda iken, eGer linux'unuzun "label" i linux ise,
linux init=/bin/bash yazIn..
root partition'I (/) read-only aCacaktIr, password dosyasInda
deGiSikLiGe gitmemiz gerekiyor, yani "write" etmemiz,..
Bu sebeptendir ki, read-write mount etmemiz gerek, root bolmemizi..
/sbin/mount -w -n -o remount /
komutuyLa read-write yaptIk,
Simdi pico/vi/joe/jed/neyse /etc/shadow iLe (shadow suite kuruLu deGiLse,
/etc/passwd) root'un Sifresini siLin.. :
root::10189:0:::::
gibi..
BoyLece root "Sifresiz" login oLabiLir..
KontroL etmeniz gereken bir baSka dosya ise /etc/securetty, eGer:
tty1
tty2
...
tty63
gibi satIrLar yok ise, console'dan root login oLamazsInIz.
Onun iCin en az bir tanesini aCmaniz gerekir, meseLa tty1..
root tty1'den (yani 1. sanal konsoldan, ALT-F1) login olabilir.
root# cat /etc/securetty:
tty1
root#
ArtIk / partitionu unmount edip makinayI kapatabiLiriz..
/sbin/umount -a -tnonfs
Power tuSu ya da Ctrl-Alt-Del ile kapatIp, makina aCILdIGInda
root'a Sifre verin, ve eGer gerekiyorsa "init 1" komutuyla single user'a
geCip, hataLarI duzeLtin..
KoLay geLsin,
Murat Arslan <arslanm@star.com.tr>
Star Haber / Ankara
Fingerprint A49E 5EA1 EDA7 B62B E66C 1B7C 6F77 4213