vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, Today I installed Mandrake10.1 on my machine, everything went fine but I skipped adding a new user. I only gave the root password, a skipped adding a new user while installation was going on. It installed very well and working fine, but I cannot login, when prompted for a password at startup. I thought I may be able to login with the root password, but none is working!! So I tried to add a new user using "failsafe", but unfortunately it goes into some strange mode (I have never seen before). I see this... Telling INIT to go to single user mode INIT: Going single user Sh-2.05# What should I do now?? Thanks a lot for any help |
| |||
| On 2005-02-09, Jack// ani <nospam4u_jack@yahoo.com> wrote: > Telling INIT to go to single user mode > INIT: Going single user > Sh-2.05# > > What should I do now?? Congratulation: when you see that, it means you've logged in and you are root. Use passwd to change the root password, use useradd to add a new user and passwd usernamehere to change his password. Then restart in normal mode. Davide -- HAL 9000: Dave. Put down those Windows disks, Dave. DAVE! |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Davide Bianchi wrote: > On 2005-02-09, Jack// ani <nospam4u_jack@yahoo.com> wrote: > >>Telling INIT to go to single user mode >>INIT: Going single user >>Sh-2.05# >> >>What should I do now?? > > > Congratulation: when you see that, it means you've logged in and you > are root. Use passwd to change the root password, use > useradd to add a new user and passwd usernamehere to change his password. > Then restart in normal mode. And I thought that /my/ answers tended to be terse. :-) Jack, Davide's shorthand description may need some explanation. He has described the actions you should take to solve two different problems. First off, since the root password you initially entered seems to be no good, Davide has suggested that you use this opportunity to set a new root password that /will/ work for you. He suggests that, as root, you enter the passwd command, and answer the prompts. The program will ask you for a new root password (and a repeat of it, to ensure that there are no typing errors), and will set the root password to whatever you enter. If you want to know all about the passwd command, take a look at the passwd(1) manpage ("man 1 passwd"). Next, Davide tells you how to add a new user using the useradd and passwd commands. Before you start, you should read the useradd(8) manpage ("man 8 useradd") to get a feel for the sort of things that useradd will need. At a minimum, you need to decide on the username of the new user, but you might want to also decide on other parameters (as documented in the useradd(8) manpage). For illustration purposes, let's pretend that you want to add a new user, with the username of JackAni. First, you would useradd JackAni which would add the user "JackAni" to the system, build the /home/JackAni directory and populate that directory with the default files that go into a home directory Next, you would passwd JackAni to give user JackAni a new password. This also activates the account, so that JackAni can log on at a "login" prompt or through the GUI login window. Here, passwd will ask the same sort of questions it did when you used it to change root's passwd; enter the user's new password, then re-enter it. Once you've done this, user JackAni will be able to log on (using the password you just set), and do his work in /home/JackAni Simple? - -- Lew Pitcher Master Codewright & JOAT-in-training | GPG public key available on request Registered Linux User #112576 (http://counter.li.org/) Slackware - Because I know what I'm doing. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCCpI2agVFX4UWr64RAuo/AJwNIrsccK+Gqr5Nromg4B74SzWYxgCdFI76 5aJdNOZIP2O0VjDSbPsC0RU= =o3Qb -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On onsdag 9. februar 2005, 23:44 Lew Pitcher tried to express an opinion: > Simple? The simplest is to invoke the command 'userdrake' which would give you a simple GUI that also sets the passwd. - -- Solbu - http://www.solbu.net Remove 'ugyldig' for email PGP key ID: 0xFA687324 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCC2ZGT1rWTfpocyQRAoSkAKCoBCe5ifNbqp11lHNyIQ Y/MAIdtwCgtVAI L15MHYnRQQUyCaVw6mzSCho= =ogMh -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Solbu wrote: > On onsdag 9. februar 2005, 23:44 Lew Pitcher tried to express an opinion: > > >>>Simple? > > > The simplest is to invoke the command 'userdrake' > which would give you a simple GUI that also sets the passwd. OK. Sounds good to me. One question, though. How would the OP get from his runlevel 1 text console to a state where he can run a GUI tool to add the user? (Hint: I know how I'd do it, but the OP wouldn't have known) - -- Lew Pitcher IT Specialist, Enterprise Data Systems, Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed are my own, not my employers') -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFCC3eYagVFX4UWr64RArdxAJ44viPVRWdA+s0WOD65qN +T2v1PCQCgwg/3 0BnQeNfG7ElQbW9RFDSLXBI= =ZI/Z -----END PGP SIGNATURE----- |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On torsdag 10. februar 2005, 16:02 Lew Pitcher tried to express an opinion: > Solbu wrote: >> The simplest is to invoke the command 'userdrake' >> which would give you a simple GUI that also sets the passwd. > One question, though. > How would the OP get from his runlevel 1 text console to a > state where he can run a GUI tool to add the user? It is a consoll GUI, like the Midnight Commander. - -- Solbu - http://www.solbu.net Remove 'ugyldig' for email PGP key ID: 0xFA687324 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCC30HT1rWTfpocyQRArxHAJ4se+COJr0jEKDnlktM1V SrTx0LvACfT0s7 1wy1ihwk0+Wh4v2BaL8mVWg= =EQs8 -----END PGP SIGNATURE----- |
| |||
| Solbu wrote: >> One question, though. >> How would the OP get from his runlevel 1 text console to a >> state where he can run a GUI tool to add the user? > > It is a consoll GUI, like the Midnight Commander. .... no such thing as "console GUI", unless it's in graphics mode and some application is utilizing a graphics library. MC is a text-output application. -- << http://michaeljtobler.homelinux.com/ >> In France they piss on Main Street (In pissoirs, Mama, not cheap display). - Joni Mitchell |
| |||
| -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Solbu wrote: > On torsdag 10. februar 2005, 16:02 Lew Pitcher tried to express an opinion: > > >>>Solbu wrote: >>> >>>>The simplest is to invoke the command 'userdrake' >>>>which would give you a simple GUI that also sets the passwd. > > >>>One question, though. >>>How would the OP get from his runlevel 1 text console to a >>>state where he can run a GUI tool to add the user? > > > It is a consoll GUI, like the Midnight Commander. OK, that's great then. And now I know Thanks - -- Lew Pitcher IT Specialist, Enterprise Data Systems, Enterprise Technology Solutions, TD Bank Financial Group (Opinions expressed are my own, not my employers') -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFCC4BNagVFX4UWr64RAqoUAJ9ON2ZUp6l1KZMdRue6mt bnSNs2OQCg8/7H GVUeRipNR3glbG9MLyD8HWw= =3pVk -----END PGP SIGNATURE----- |