Re: Stuck at login screen after install.



"Robert M. Riches Jr." <spamtrap42@xxxxxxxxxxx> writes:

>On 2005-12-06, DreamWeaver <jaineshjogia@xxxxxxxxx> wrote:
>> Hi there,
>>
>> I have just finished installing Suse 10 on VMWare 5.5 and the install
>> has
>> gone well.
>>
>> Here is what the problem is:
>> After the installation, when you have to create User Accounts, Set Root
>>
>> Password etc... well I could not complete this as the laptop lost
>> power.
>>
>> Now when I start up the machine, I cannot log in as there are no valid
>> accounts created.
>>
>> How do I create the accounts and what can I do to get me in the system?
>>
>> Any help will be really appreciated. Thank you very much!!!

At the lilo prompt just as teh system starts to boot, and asks you which
kernel you want to boot to, hit esc and type
lilo 1
This will set you up as root at level 1.
Now run
passwd
and enter a password for root.

Now you will be able to log on as root.

You can either enter a user now with whatever suse uses to make a user, or
just put the line
jogia:x:500:500:DreamWeaver:/home/jogia:/bin/bash
at the end of /etc/passwd
and then put
jogia::13054:0:99999:7:::
t the end of /etc/shadow

(eg
echo 'jogia:x:500:500:DreamWeaver:/home/jogia:/bin/bash'>>/etc/passwd

Note you MUST enter it in EXACTLY as shown. In particular that is >> not>
Otherwise you could wipe out your whole password file
And similarly for the /etc/shadow file

You will now have root access and one user, jogia.
Still as root, do
passwd riches
and enter a password for user riches.

mkdir /home/jogia

You may want to copy various files in ( eg .bashrc and .bash_profile)
/etc/skel into /home/jogia
cp -p /etc/skel/.??* /home/jogia
chown -R jogia /home/jogia
Now reboot. (alt-ctrl-del)

.



Relevant Pages

  • Re: Stuck at login screen after install.
    ... > I have just finished installing Suse 10 on VMWare 5.5 and the install ... > After the installation, when you have to create User Accounts, Set Root ... Boot into single user mode and create the accounts starting with root. ... "A personal computer is called a personal computer because it's yours, ...
    (comp.os.linux.misc)
  • Re: Stuck at login screen after install.
    ... > After the installation, when you have to create User Accounts, Set Root ... The root password is set-up before you get to the user configuration, ... weather, is fairly small, but installing whilst on batteries is just asking ...
    (alt.os.linux.suse)
  • Re: Stuck at login screen after install.
    ... > I have just finished installing Suse 10 on VMWare 5.5 and the install ... > After the installation, when you have to create User Accounts, Set Root ...
    (alt.os.linux.suse)
  • Stuck at login screen after install.
    ... I have just finished installing Suse 10 on VMWare 5.5 and the install ... After the installation, when you have to create User Accounts, Set Root ...
    (comp.os.linux.setup)
  • Stuck at login screen after install.
    ... I have just finished installing Suse 10 on VMWare 5.5 and the install ... After the installation, when you have to create User Accounts, Set Root ...
    (comp.os.linux.misc)