Author Topic: no root pw used at install [Solved]  (Read 632 times)

Offline kensum71

  • Full Member
  • ***
  • Posts: 97
no root pw used at install [Solved]
« on: March 25, 2011, 08:16:12 PM »
My father in law called me down to his place and he had installed pheonix xfce and when it rebooted he said he passed over the admin part and just put in his username and password. I updated his system and noticed it did not ask for a root pw. It does not ask on any of the tasks that should require it. I checked the config computer and he is listed only as a user but no admin is listed.

Is he running in root all the time? and I could not figure out how to change it. I added another user and logged in on the new user and was able to still access everything without a root pw. Need help on how to fix this for him so there is a admin and a user. thanks.
« Last Edit: March 31, 2011, 05:27:15 PM by kensum71 »

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9711
  • I'm Just A Dog.
Re: no root pw used at install
« Reply #1 on: March 25, 2011, 09:14:12 PM »
I think the install should have asked for a root password. If he just hit "enter" and did not assign one, you can set a password for it.

Open a console and type

su (enter) "if it asks for a password just hit enter again"

whoami (enter) "to make sure you are (root). If you are not root at this point, Don't go any further."

passwd (enter) "follow the prompts to assign a password"


Again, it's just my guess that a root password has not been assigned.
« Last Edit: March 25, 2011, 09:19:31 PM by Rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline kensum71

  • Full Member
  • ***
  • Posts: 97
Re: no root pw used at install
« Reply #2 on: March 25, 2011, 09:39:17 PM »
Thanks for the reply Rudge; I will go down and see if this will fix it or at least let me know what he did. I don't want to reinstall it for him as it is an older notebook that runs pretty slow; however as seems to be the case with pclinuxos, everything works and all hardware was detected.