On Monday 13 December 2004 08:04 pm, Danesh Daroui wrote: > Hi all, > > I have installed mndk 10.1 official and created an account (except > root). I could login with my account, but the only available account to > login at the login window was my account. I don't know how can I login > as root ? In fact, the problem is even worse. I have deleted that > account too and now a window just ask me for password and nothing is > accepted. Noe my system is completely dangled thanks to mndk, anybody > help ? urgent... > > Thanks, > > Danesh
1a) If you know the root password, reboot your system, and when the menu comes up for Grub (it should show your kernel as one of the boot options), hit the letter 'e', and then 'e' again. You will now be editing the options for that particular kernel - add ' init 3' to the line, and then hit enter. Hit 'b' to boot from it. This will put you into command line mode. If that's the case, skip on to #2 1b) If you do NOT know the root password, put the Mandrake 10.1 Official CD in, and reboot your system. Go into rescue mode, and it'll drop you to the command line. Let it find your default installation, and then type: mount /mnt/sysimage This will chroot you into your Linux setup, and you'll be at the command line, ready to add a new user. 2) Create a normal user: adduser -p password myusername Be sure to replace 'myusername' with the username you want to use, and replace password with your new password. 3) Set the root password as well: passwd newrootpassword Now you can reboot the system again (pop out the CD if need be), then type: reboot Once it comes back up, you'll be able to log in as the new user, and you can of course then su to root as necessary. -- Take care, Randall Hobbs Programmer - System Administrator - Chip Castle Dot Com, Inc. Web Hosting * Programming * Software http://www.chipcastle.com
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
