Bob Miller wrote:

Mr O wrote:



What's the quickest way to root a RedHat box? Boot off a rescue
CD or bootable distro and edit /etc/passwd? What do I change? Do
I change the values associated with root's password or can I
just simply reset the root and/or user passwords?




knoppix: knoppix textmode

   root# mount /dev/hdaX /mnt/hdaX
   root# chroot /mnt/hdaX /usr/bin/passwd root
   Changing password for user root
   New password: XXXXXXXXXXXX
   Retype new password: XXXXXXXXXXXX
   root# umount /mnt/hdaX

Replace the X's with the right characters for your configuration.



Aside from blackhat reasons what are some situations that require this I haven't forgotten my password yet but I'm sure that has happened. Once when very new to linux I had someone work on my box and I didn't remember them telling me what the password was . How many can the experienced admins list?
John



_______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to