Root Permission denied
Re: Root Permission denied
And a Big Thanks to you brokenman !
Tome Too !
Tome Too !
- francois
- Contributor
- Posts: 6344
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Root Permission denied
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:
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.
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
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.
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Root Permission denied
Actually it doesn't matter. The last one loaded wins.francois wrote:Make sure that these do not appear also in the /mnt/sda5/64bit_v31rc1/porteus/base folder.
Ed
- francois
- Contributor
- Posts: 6344
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Root Permission denied
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)
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 7915
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.0 ISO
- Location: Western NY, USA
Re: Root Permission denied
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.francois wrote:The loading of unecessary modules lenghtens the booting of your linux box.

Ed
-
- Ronin
- Posts: 1
- Joined: 19 Nov 2014, 18:28
- Distribution: Porteus-RAZOR-v3.0.1-x86_64
- Location: Finland
Re: Root Permission denied
I just installed Porteus-RAZOR-v3.0.1-x86_64.iso using instructions for USB boot using linux computer.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 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.
- brokenman
- Site Admin
- Posts: 6104
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
- Contact:
Re: Root Permission denied
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.
Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: Root Permission denied
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
- francois
- Contributor
- Posts: 6344
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Root Permission denied
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.
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.
Prendre son temps, profiter de celui qui passe.
-
- Full of knowledge
- Posts: 2006
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Re: Root Permission denied
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.
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.
Re: Root Permission denied
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
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

- francois
- Contributor
- Posts: 6344
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Root Permission denied
It seems that donald's solution was minimalist. As such, it was best.
I thought that you could not use the passwd command to recover your password.

I thought that you could not use the passwd command to recover your password.
Prendre son temps, profiter de celui qui passe.
Re: Root Permission denied
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.
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.