[Solved] User Password during login on bootable USB with changes saved
[Solved] User Password during login on bootable USB with changes saved
Hello guys,
I run Porteus OS 5 through a bootable USB. I have created a save changes .bat file as per the instructions.
Then I changed the default passwords for guest and root user. The changed passwords are saved. But the system still automatically logs me in without prompting for password.
I have tried adding the cheatcode for no auto login (login=) but that doesn't work. That doesn't do anything actually.
Please help me.
Solution:
1. Use "login=" cheatcode in the porteus_xx.cfg file in the Porteus folder in your USB, if that works for you. Insert after save changes cheatcode. [DIDN'T WORK FOR ME] [BEWARE!! This is highly unsecured method of putting password. One can easily check the password in the cfg file from another OS using a simple notepad. All your passwords and cheatcodes everything can be changed from there before logging in to porteus.
2. Edit the /etc/slim.conf file to change the default password and disable auto-login. It will add new screen before your usual desktop loading screen. Solution by donald. It will not be the same screen that you see when you lock the system.
3. Put password on booting menu. Solution by benny. Will have to update porteus.cfg file with MENU PASSWD lines and also remove the TIMEOUT line in the starting. [BEWARE!! This is highly unsecured method of putting password. One can easily check the password in the cfg file from another OS using a simple notepad. All your passwords and cheatcodes everything can be changed from there before logging in to porteus.
I run Porteus OS 5 through a bootable USB. I have created a save changes .bat file as per the instructions.
Then I changed the default passwords for guest and root user. The changed passwords are saved. But the system still automatically logs me in without prompting for password.
I have tried adding the cheatcode for no auto login (login=) but that doesn't work. That doesn't do anything actually.
Please help me.
Solution:
1. Use "login=" cheatcode in the porteus_xx.cfg file in the Porteus folder in your USB, if that works for you. Insert after save changes cheatcode. [DIDN'T WORK FOR ME] [BEWARE!! This is highly unsecured method of putting password. One can easily check the password in the cfg file from another OS using a simple notepad. All your passwords and cheatcodes everything can be changed from there before logging in to porteus.
2. Edit the /etc/slim.conf file to change the default password and disable auto-login. It will add new screen before your usual desktop loading screen. Solution by donald. It will not be the same screen that you see when you lock the system.
3. Put password on booting menu. Solution by benny. Will have to update porteus.cfg file with MENU PASSWD lines and also remove the TIMEOUT line in the starting. [BEWARE!! This is highly unsecured method of putting password. One can easily check the password in the cfg file from another OS using a simple notepad. All your passwords and cheatcodes everything can be changed from there before logging in to porteus.
Last edited by meet on 23 Apr 2020, 03:58, edited 6 times in total.
- Ed_P
- Contributor
- Posts: 8360
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
User creation on live-USB portable booting
An interesting option, but I have never heard of it being used with Porteus.meet wrote: ↑31 Mar 2020, 17:39Can anyone tell me, in non-technical language, what am I required to do to create users on the live-USB itself (to be run with save changes mode), so that wherever I login using this USB stick, it will ask me the user name and password to continue, or else I will have to start over with a fresh version in the boot menu.
Ed
User creation on live-USB portable booting
Hey.Ed_P wrote: ↑31 Mar 2020, 19:39An interesting option, but I have never heard of it being used with Porteus.meet wrote: ↑31 Mar 2020, 17:39Can anyone tell me, in non-technical language, what am I required to do to create users on the live-USB itself (to be run with save changes mode), so that wherever I login using this USB stick, it will ask me the user name and password to continue, or else I will have to start over with a fresh version in the boot menu.
I hope I made myself clear. It's about user creation, login profile.. I guess that's very basic of any OS, isn't it?
Or is it this way across all portal OS options, that one has to compulsorily use the guest login?
That will make the USB very unsecure if it gets in to wrong hands.
- Ed_P
- Contributor
- Posts: 8360
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
User creation on live-USB portable booting
You could try the Porteus Kiosk system to see if that matches your security desires. I've never used it so I can't say if it would or wouldn't.
With regular Porteus you can have different users and specify which one you will boot to with cheatcodes in the porteus.cfg file but no prompt when booting ttbomk. Create a menu option to boot to root and see what happens.
With regular Porteus you can have different users and specify which one you will boot to with cheatcodes in the porteus.cfg file but no prompt when booting ttbomk. Create a menu option to boot to root and see what happens.
Ed
User creation on live-USB portable booting
hi meet, you can put a password on the syslinux prompt so only the owner can start to choose the boot line and login.
- ncmprhnsbl
- DEV Team
- Posts: 3933
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
User creation on live-USB portable booting
there is also the cheatcode(added to the APPEND line in porteus.cfg): login= which will stop booting at the login manager screen..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
User creation on live-USB portable booting
This doesn't work for me. Don't understand why. Tried with everything - login=, login= , login="" - none of these work. Added it in porteus.cfg in boot folder by adding it to the end of the line starting with APPEND under GUI login option, as well as the porteus.cfg in porteus folder by adding it as a new line at the end of the file. Both didn't work.ncmprhnsbl wrote: ↑02 Apr 2020, 01:45there is also the cheatcode(added to the APPEND line in porteus.cfg): login= which will stop booting at the login manager screen..
Hey, nice suggestion. Can you explain me what exactly is required to be done to put this password on syslinux prompt? Sorry, I am a newbie.
Well, everything else at least asks for a login and password. That's much much better than this directly logging guest in.
Hey this actually worked. Now I get a different login screen, not the one that appears when I lock the system after logging in (which is more beautiful than this one.) But this serves the purpose. Thank you.
P.s. Just for others who might stumble on to this post, the solution to edit slim.conf will slow your boot speed a bit, only a bit. But it works by adding a login screen (two prompts each for username and password) and then actually going and loading your desktop, for me KDE.
User creation on live-USB portable booting
Hey guys. I thought of an idea.
Is there a way to run a script immediately upon logging in?
I was thinking to run a script to lock the PC immediately it loads up the desktop environment. This will eventually require the user to enter the password for login again, and he won't be able to use the OS on USB without my permission.
Also, please inform me if such scripts can be avoided through any other way.
This is to speed up the boot process. Changing the slim.conf file worked. But has slowed down the boot so much. Almost an extra 5 minutes. Time to enter credentials another extra.
Is there a way to run a script immediately upon logging in?
I was thinking to run a script to lock the PC immediately it loads up the desktop environment. This will eventually require the user to enter the password for login again, and he won't be able to use the OS on USB without my permission.
Also, please inform me if such scripts can be avoided through any other way.
This is to speed up the boot process. Changing the slim.conf file worked. But has slowed down the boot so much. Almost an extra 5 minutes. Time to enter credentials another extra.
I put the required MENU PASSWD argument in the said file. And wrote my password after that. However, I have not got any password prompt anywhere during the booting. It restarted / booted just like it used to earlier. Can you help me with this?beny wrote: ↑06 Apr 2020, 18:03hi meet, here a link: https://wiki.archlinux.org/index.php/Syslinux#Security
-
- Full of knowledge
- Posts: 2067
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
User Password during login on bootable USB with changes saved
@meet
There is only one line in syslinux.cfg - INCLUDE porteus.cfg -
that tells me that I should look at that one, right?
There is only one line in syslinux.cfg - INCLUDE porteus.cfg -
that tells me that I should look at that one, right?
User Password during login on bootable USB with changes saved
Haha. Yeah. It wasn't that obvious for me. The link said update syslinux so I put that command below the include line.
It should have said update porteus.cfg file it that is what was required to update.
And yeah, after adding that - adding "MENU MASTER PASSWD mypassword" and "MENU PASSWD mypassword" to the porteus file, it still doesn't ask me any password on boot.
Did I miss something again here?
User Password during login on bootable USB with changes saved
Sorry. I don't understand. Along with TIMEOUT 90 there are a lot of lines that are not there in the spoiler. Should I delete all the lines except those written in the spoiler?
User Password during login on bootable USB with changes saved
Hey Donald.
Thanks this works now. Removed that timeout line too. Thank you again.
Thanks this works now. Removed that timeout line too. Thank you again.