LinHES Forums
http://forum.linhes.org/

R6 root password - how do you set it?
http://forum.linhes.org/viewtopic.php?f=14&t=19835
Page 1 of 1

Author:  neutron68 [ Sun May 03, 2009 2:24 pm ]
Post subject:  R6 root password - how do you set it?

Hi, I just tried my first clean install of LinHES R6. Was there a place to assign a root password during setup? If so, I missed it. Now, I can't log in as root - only as a user.

Can I recover from this? Can I rerun the LinHES setup and enter a root password during the process? Or can I issue a command line command in a terminal screen and set the root password? Or do I need to wipe the hard drive and reload from scratch?

I was a bit thrown off by the loss of use of the ALT-CTL-F1 through ALT-CTL-F6 key sequences to bring up a terminal window.
Then, I found this wiki article that cleared up that mystery:
http://www.knoppmythwiki.org/index.php? ... rtcut+Menu
Quote:
Alt+h bring up a help menu summarizing the following:

* Alt+x brings up an x window
* Alt+ctrl+u unhides mouse cursor
* Alt+1 starts the backend
* Alt+2 stops the backend
* Alt+3 restarts the backend
* Alt+s starts the setup
* Alt+m starts the frontend

WHEW! :)

Thanks,
Eric

Author:  graysky [ Sun May 03, 2009 4:37 pm ]
Post subject: 

Yeah, you missed it. It's kinda subtle - when you are assigning your own username/password, you also need to do one for root on that screen. I can't remember if there is a way to do this once you've installed or not... possibly sudo something. Maybe someone else will know and answer your question.

Author:  Greg Frost [ Sun May 03, 2009 5:58 pm ]
Post subject: 

Try "a" as the password this was the default in earlier versions of R6

Author:  neutron68 [ Sun May 03, 2009 8:33 pm ]
Post subject:  root password

Greg Frost wrote:
Try "a" as the password this was the default in earlier versions of R6
Thanks for the idea.
I just tried to use "a" as the root password. It didn't work. :(

Is there a way to re-run the LinHES setup screens? Perhaps a script to run?

Thanks,
Eric

Author:  cecil [ Mon May 04, 2009 12:46 am ]
Post subject: 

Service Menu > LinHES Configuration > Password
If you don't see the above, ensure you have the lastest software.
Code:
sudo pacman -Syu

Author:  neutron68 [ Mon May 04, 2009 8:15 pm ]
Post subject:  time to reload

cecil wrote:
Service Menu > LinHES Configuration > Password
If you don't see the above, ensure you have the lastest software.
Code:
sudo pacman -Syu

Thanks for the ideas.
I tried the Password menu screen. It said "You do not have access to this screen."
I'm going the "sudo pacman -Syu" now...

Odd...the process bombed out with errors.
Quote:
88/88 checking for file conflicts
error: could not prepare transaction
error: failed to comit transaction (conflicting files)
fbsplash: /etc/conf.d/fbsplash.bootsteps exists in filesystem
Errors occurred, no packages were upgraded.

I think it's time to just wipe and reload...
Eric

Author:  cecil [ Tue May 05, 2009 9:17 pm ]
Post subject: 

Code:
sudo pacman -Sfu
You can always boot off the CD and...
Code:
<ctrl><alt><f2>
mount -o rw /dev/sda1 /mnt/sda1
chroot /mnt/sda1
passwd
exit
reboot

Author:  neutron68 [ Sat May 09, 2009 4:20 pm ]
Post subject:  thanks!

That is good information to know. I will print and file this for future use.

I ended up just reloading from scratch before you had a chance to reply. So, I'm up and running with R6 with a known root password. :)

Eric

Author:  jams [ Sat May 09, 2009 9:45 pm ]
Post subject: 

Just for reference, if you don't set the password it's blank.
In the past it was the letter "a" but people complained, so now it's blank unless you set it during the install.

Author:  neutron68 [ Sat May 09, 2009 11:43 pm ]
Post subject:  blank didn't work

jams wrote:
Just for reference, if you don't set the password it's blank.
In the past it was the letter "a" but people complained, so now it's blank unless you set it during the install.

I also tried a blank as a password. It didn't work.

Author:  abbazabba [ Wed Jul 21, 2010 1:16 pm ]
Post subject: 

Looks like this is fairly old now but you can also:

sudo passwd
(enter your new password)

and you're done! Hope this helps somebody.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/