Tweets from pichat

PichatFollow my new user account @markseu
About 2 months, 3 weeks ago from Pichat (Pichat Software)

Tweets from 600infos

600infosI HAVE NYANED FOR 888.4 SECONDS! http://t.co/JQYOZebv via @nyannyancat
About 3 months, 3 weeks ago from 600infos (Wolf)

Reset Password

for lost passwords in debian:

  1. boot to grub
  2. press E during kernelselection
  3. add in the row of the kernel: init=/bin/bash
  4. boot now Ctrl+X
  5. mount -o remount,rw /
    mount -avt nonfs,noproc,nosmbfs
  6. edit passwd vi /etc/shadow
    delete password for root::15120:0:99999:7:::
    and/or user::15120:0:99999:7:::
    or cp /etc/shadow /tmp/shadow && sed -e 's/root:\(.*\):\(.*\):\(.*\):\(.*\):\(.*\):\(.*\)::/root::\2:\3:\4:\5::/g' /tmp/shadow /etc/shadow
  7. change password now: passwd
    and/or passwd user
  8. reboot
mount -o remount,rw /
mount -avt nonfs,noproc,nosmbfs
cp /etc/shadow /tmp/shadow
sed -e 's/root:\(.*\):\(.*\):\(.*\):\(.*\):\(.*\):\(.*\)::/root::\2:\3:\4:\5::/g' /tmp/shadow /etc/shadow
passwd root
abc123
abc123
! use password abc123 for root login now 
reboot

Translate
Advertisment
  • more about Pichat on http://www.pichat.net
  • C4 - Tiny chat software
  • http://600infos.de
  •    Counter:  11683  Online:  5  Your IP:  38.107.179.239  DNS:  unknown  Page generated in    0.2 sec.