Page 1 of 1

[SOLVED] root password issue

Posted: 20 Sep 2014, 16:18
by nixlower0
Hi, I installed the latest Porteus Razor Qt default iso image and I can't use any root password on system apps like USM (Porteus Package Manager). I have changed the default Porteus root and guest users pasword from terminal, but on program windows likes USM and Porteus Setting Center, the default password and my custom password is not working, too. I have tested the MD5Sum of the downloaded iso image and the sum is right.
What I have to do to fix this error? Where I should look? Or maybe I have to "dd zero" my flash drive and then try to create the a bootable Porteus again.
BTW, I formatted my flash drive to Ext4 and copied both directories from SteamOS Desktop, but when I tried to make it bootable, the terminal answer was something like - "sfdisk not found, install it and try again". I checked on my SteamOS (Debian Wheezy) the program sfdisk is installed. So, I boot into Mint DVD and made the flash drive bootable.
Thanks in advance for any answer (if this post is similar to other, I can delete it to prevent convert Porteus forum into a "dump").

Re: root password issue

Posted: 20 Sep 2014, 20:37
by nixlower0
During reboot strange signs and squares appeared on console text.
There was no problems with "allways fresh mode" and access to Porteus Package manager and other system functions. So, I think it is a flesh drive problem. I will check that tomorrow, if I'm right I will delete this topic.
Sorry for wasting your time - forum mates.

Re: root password issue

Posted: 22 Sep 2014, 09:45
by nixlower0
My problem was in boot directory permissions, it was root only access. I copied both Porteus directories - boot and porteus using "sudo" command because for some reasons my flash drive was "root" only access. I changed the permissions and not sure but was all right. But the password problem still was there and on Razor Qt there is a problem with my UPS battery level - is showing 0% not recognized.
My problem is solved. I formatted my drive in MS Windows to FAT32 and installed Porteus XFCE, then made save.dat container file. I hope now I will not have problems. Also my pc UPS battery on XFCE is recognized and showing the current percentage.

Re: [SOLVED] root password issue

Posted: 22 Sep 2014, 19:52
by francois
Interesting! Good for you that you have sorted it out! :)

However, as porteus does not come with sudo command, did you add the package?

Re: [SOLVED] root password issue

Posted: 22 Sep 2014, 20:36
by Ed_P
francois wrote:porteus does not come with sudo command, did you add the package?
FWIW I have it on my system and I didn't install it. Nor know how to use it. :(

Code: Select all

guest@porteus:~$ sudo
usage: sudo [-D level] -h | -K | -k | -V
usage: sudo -v [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid]
usage: sudo -l[l] [-AknS] [-D level] [-g groupname|#gid] [-p prompt] [-U user
            name] [-u user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-D level] [-g groupname|#gid] [-p prompt] [-u
            user name|#uid] file ...
guest@porteus:~$ 

Re: [SOLVED] root password issue

Posted: 23 Sep 2014, 00:25
by brokenman
Two things to add.

When copying as root it is a good practise to use: cp -a
This will ensure all permissions are maintained and not changed to root.

Previously Porteus did not have sudo but when slackware updated the shadow package (slackware 14.1) it broke gksu. We changed over to gnsu (modified version) and sudo at this time.

Re: [SOLVED] root password issue

Posted: 23 Sep 2014, 01:52
by francois
Oh! Good to know. My probleme is that I always work root mode. :twisted: