Root Permission denied

Post here if you are a new Porteus member and you're looking for some help.
THX2006
White ninja
White ninja
Posts: 15
Joined: 26 Sep 2014, 00:16
Distribution: Porteus LXDE
Location: U.S.

Re: Root Permission denied

Post#16 by THX2006 » 01 Nov 2014, 22:11

And a Big Thanks to you brokenman !
Tome Too !

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

Re: Root Permission denied

Post#17 by francois » 02 Nov 2014, 14:00

You would like to interchange the kde for another one. For this I use the extramod cheatcode. Here is my menu.lst as an example:

Code: Select all

title porteus  on sda5 64bit_v31rc1 LXQT 
root (hd0,4)
kernel /64bit_v31rc1/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31rc1 extramod=/mnt/sda5/64bit_v31rc1/lxqt changes=EXIT:/64bit_v31rc1/lxqt   login=root
initrd /64bit_v31rc1/boot/syslinux/initrd.xz
boot

title porteus  on sda5 64bit_v31rc1 XFCE 
root (hd0,4)
kernel /64bit_v31rc1/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v31rc1 extramod=/mnt/sda5/64bit_v31rc1/xfce changes=EXIT:/64bit_v31rc1/xfce   login=root
initrd /64bit_v31rc1/boot/syslinux/initrd.xz
boot

title porteus  on sda5 64bit_v30  KDE 
root (hd0,4)
kernel /64bit_v30/boot/syslinux/vmlinuz from=/dev/sda5/64bit_v30 extramod=/mnt/sda5/64bit_v30/kde changes=EXIT:/64bit_v30/kde   login=root
initrd /64bit_v30/boot/syslinux/initrd.xz
boot
For your use: 1) erase the content after changes= (thus in always fresh mode, as you asked), 2) you have to place the respective 003-lxqt.xzm, 003-xfce.xzm and 003-kde.xzm in the pointed extramodular folders, /mnt/sda5/64bit_v31rc1/lxqt, /mnt/sda5/64bit_v31rc1/xfce and /mnt/sda5/64bit_v31rc1/kde. Make sure that these do not appear also in the /mnt/sda5/64bit_v31rc1/porteus/base folder.

You can find the other de in:
http://dl.porteus.org/x86_64/current/modules/

Make sure to use the appropriate desktop environments versions for your installation. Here, I was using 3.0 rc1.
Voltaire: Le mieux est l'ennemi du bien.

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

Re: Root Permission denied

Post#18 by Ed_P » 02 Nov 2014, 15:27

francois wrote:Make sure that these do not appear also in the /mnt/sda5/64bit_v31rc1/porteus/base folder.
Actually it doesn't matter. The last one loaded wins.
Ed

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

Re: Root Permission denied

Post#19 by francois » 05 Nov 2014, 20:09

The loading of unecessary modules lenghtens the booting of your linux box. A good practice is not to load the modules that you do not need (there is the /porteus/optional folder for these). 8)
Voltaire: Le mieux est l'ennemi du bien.

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

Re: Root Permission denied

Post#20 by Ed_P » 05 Nov 2014, 21:30

francois wrote:The loading of unecessary modules lenghtens the booting of your linux box.
True, but not as much time as it takes to disassemble an ISO, replace a module with a different one and rebuild the ISO only to find the replacement doesn't work and you have to build a new ISO. :wink:
Ed

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

Re: Root Permission denied

Post#21 by francois » 06 Nov 2014, 21:41

:crazy:
Voltaire: Le mieux est l'ennemi du bien.

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

Re: Root Permission denied

Post#22 by Ed_P » 06 Nov 2014, 22:19

:shock:

:D
Ed

hmoisand
Ronin
Ronin
Posts: 1
Joined: 19 Nov 2014, 18:28
Distribution: Porteus-RAZOR-v3.0.1-x86_64
Location: Finland

Re: Root Permission denied

Post#23 by hmoisand » 19 Nov 2014, 18:40

brokenman wrote:Thanks to Tome I confirmed a bug in the modified gnsu which means that passwords with some special characters (like spaces) are not passed successfully. This will be address in next release v3.1rc2. Thanks.
I just installed Porteus-RAZOR-v3.0.1-x86_64.iso using instructions for USB boot using linux computer.

I set a root password that works with terminal, I am able to change it. It contains a,k,s,i and numbers. No special characters.

How ever any of the graphical apps requiring "root password" will not work with the correct root password - not even I logg in as root.

I am not able to configure WiFi and cannot use any of the available gui setting apps. Unfortunatelly, as this looks very very promising, but I can not proceed any futher.

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

Re: Root Permission denied

Post#24 by brokenman » 20 Nov 2014, 18:06

hmoisand, the only time I can reproduce this problem is with a 'space' character in the root password. Not sure why you are having this problem. We will release the next Porteus version in December but in the meantime please build yourself a 3.1 release from here and give it a run.http://build.porteus.org/rc2

Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.

kaspin
Ronin
Ronin
Posts: 2
Joined: 01 Dec 2014, 18:35
Distribution: Porteus-V3.0.1.i486
Location: France

Re: Root Permission denied

Post#25 by kaspin » 01 Dec 2014, 18:51

Before joining the forum and finding this bug report, I changed to a password with a space character, which was reluctantly accepted through the Porteus settings centre, but does not in fact work. Can I get back to, say, the original "toor" password on this version of Porteus installed on my HDD, or by booting from the USB version which still has "toor" as the password? Thanks in advance, Kaspin

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

Re: Root Permission denied

Post#26 by francois » 02 Dec 2014, 03:15

Salut Kaspin,

You have installed porteus on your hdd with the changes cheatcode, I imagine. With the porteus usb key, on the hdd you can delete the change folder or give it a new name and start anew. Removing the change folder or renaming it will reset root password on hdd to toor.

chroot is not possible from an outside installation because of porteus modular structure.
Last edited by francois on 02 Dec 2014, 18:58, edited 1 time in total.
Voltaire: Le mieux est l'ennemi du bien.

donald
Full of knowledge
Full of knowledge
Posts: 1175
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Root Permission denied

Post#27 by donald » 02 Dec 2014, 13:56

Hi Kaspin
For testing this I set a Pw "space123space" via PSC ((because I don' know yours) (in lxde 3.0.1 32 bit))
This Pw don't work in GUI-Apps, but it worked in a Terminal.
Do this:
Open a Terminal, type su, hit enter, use your Pw, hit enter, if you get the root promt type passwd,
hit enter and follow the Instructions.

2)
If this won't work reboot, at the splash-screen hit the TAB-key, type login=root,
hit enter to boot...If the DE comes up, change your PW.

kaspin
Ronin
Ronin
Posts: 2
Joined: 01 Dec 2014, 18:35
Distribution: Porteus-V3.0.1.i486
Location: France

Re: Root Permission denied

Post#28 by kaspin » 02 Dec 2014, 19:33

Hi françois and donald,
Many thanks for your quick replies. I tried donald's "su" solution first and it worked perfectly (I in fact reinstated "toor"' even though it is shorter than recommended). Rather than tempt fate, I'll leave it there for the moment, but I've noted down the other 2 suggestions and will try them when I've gained a bit more experience or messed up again.....merci and danke schön :beer:

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

Re: Root Permission denied

Post#29 by francois » 05 Dec 2014, 17:44

It seems that donald's solution was minimalist. As such, it was best. :wink:
I thought that you could not use the passwd command to recover your password.
Voltaire: Le mieux est l'ennemi du bien.

THX2006
White ninja
White ninja
Posts: 15
Joined: 26 Sep 2014, 00:16
Distribution: Porteus LXDE
Location: U.S.

Re: Root Permission denied

Post#30 by THX2006 » 09 Dec 2014, 23:58

Hello hmoisand
Sorry I didn't see this sooner. I have the same problem but I can still bring up a root gui from terminal by adding gui to the end. For example, if I want usm I su to root (in terminal) then type in usmgui and I get the gui for usm. Same with porteus-settings-centre gui (which needs the space between -centre and gui).
HTH.

Post Reply