[SOLVED] root password issue

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

[SOLVED] root password issue

Post#1 by nixlower0 » 20 Sep 2014, 16:18

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").
Last edited by nixlower0 on 22 Sep 2014, 09:45, edited 1 time in total.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: root password issue

Post#2 by nixlower0 » 20 Sep 2014, 20:37

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.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: root password issue

Post#3 by nixlower0 » 22 Sep 2014, 09:45

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.

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: [SOLVED] root password issue

Post#4 by francois » 22 Sep 2014, 19:52

Interesting! Good for you that you have sorted it out! :)

However, as porteus does not come with sudo command, did you add the package?
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3162
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: [SOLVED] root password issue

Post#5 by Ed_P » 22 Sep 2014, 20:36

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:~$ 
Ed

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: [SOLVED] root password issue

Post#6 by brokenman » 23 Sep 2014, 00:25

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.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: [SOLVED] root password issue

Post#7 by francois » 23 Sep 2014, 01:52

Oh! Good to know. My probleme is that I always work root mode. :twisted:
Voltaire: Le mieux est l'ennemi du bien.

Post Reply