On Thursday 13 September 2001 8:02 am, Gabriele Biondo wrote:
Dear sirs month ago i read that there is a way to gain the root privileges' over a linux box - with a little trick. Now, i do not remember that trick, but one of our sysadmins left the company and he doesn't want to give back that password. Is there anyone that knows that little trick? Is there anyone that knows how to configure lilo to protect from that trick?
That would be great, it would save me the time to search among lotsa articles.
SuSE has a Rescue System on CD 1, in which you can boot and log in as root without a password. Thus: 1. Boot the machine. 2. Type: linux init=/bin/sh rw 4. Type: mount /usr 5. Change your root password using: passwd 6. Type: sync; sync; sync 7. Type: umount /usr 8. Remount the root filesystem (readonly this time): mount -o remount,ro / 9. Finally, type: exec /sbin/init 6 Unfortunately, I can't do this on my system since I'm using LVM and mount /usr won't work. Any ideas? Other tips to secure your system: 1. Password enable your BIOS. 2. Disable floppy disk seek at boot time. 3. Disable alternate boot devices (CD-ROM, Zip, floppy etc.). M