[SOLVED]How to disable autologin and guest account?
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
[SOLVED]How to disable autologin and guest account?
Hi everyone there.
I'm a new on here and I've just tried to install porteus on usb key. Everything went smooth and I'm very satisfied with this distro, it boots up very fast, it has the basic apps you need, you can update the packages to stay up to date,etc.... very good job indeed.
However I would like to do a few changes. First of all, the distro on my usb key will be for me only, so this guest account which everyone can potentialy use if he/she gest my key is not a good option in my case. So if anyone knows how to do that it would be grate. I remember in Ubuntu, you had to edit the window manager settings file to do that...I'm not sure how to do it here. Besides it would be nice to have the ability to disable guest account at all levels, I mean not just in X but also in tty, if possible.
Another thing, connected to the first one however, is the autologin, I know there is a kernel startup switch AKA cheatcode, to select the desired user to auto login, but I would prefer none. I would like to create a new user account and login with it manually everytime it OS starts up.
Thanks in advance for your help guys, and a happy new year
I'm a new on here and I've just tried to install porteus on usb key. Everything went smooth and I'm very satisfied with this distro, it boots up very fast, it has the basic apps you need, you can update the packages to stay up to date,etc.... very good job indeed.
However I would like to do a few changes. First of all, the distro on my usb key will be for me only, so this guest account which everyone can potentialy use if he/she gest my key is not a good option in my case. So if anyone knows how to do that it would be grate. I remember in Ubuntu, you had to edit the window manager settings file to do that...I'm not sure how to do it here. Besides it would be nice to have the ability to disable guest account at all levels, I mean not just in X but also in tty, if possible.
Another thing, connected to the first one however, is the autologin, I know there is a kernel startup switch AKA cheatcode, to select the desired user to auto login, but I would prefer none. I would like to create a new user account and login with it manually everytime it OS starts up.
Thanks in advance for your help guys, and a happy new year
Last edited by arcull on 03 Jan 2015, 20:14, edited 2 times in total.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: How to disable autologin and guest account?
The cheatcode for autologin of guest account is login=guest. So just keep it empty login= and there will be no autologin.
You can change the password of the guest or root account with passwd command. However, you need the changes= cheatcode to keep the changes. See cheatcodes on the first page of this forum.
You can change the password of the guest or root account with passwd command. However, you need the changes= cheatcode to keep the changes. See cheatcodes on the first page of this forum.
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: How to disable autologin and guest account?
Thanks francois, I haven't thought of that option. But I'm not sure what do you mean by
And one more simpel question,I think I don't need to open a new thread for this: what type of encryption (AES,Blowfish...) does the option to encrypt content in porteus in control center offer? I mean, if it is "up to date" and not an old one?
If I remember well, I tried for instance add new user with "adduser" command, and even after reboot my user was there and I didn't mess with the cheatcodes at all.However, you need the changes= cheatcode to keep the changes
And one more simpel question,I think I don't need to open a new thread for this: what type of encryption (AES,Blowfish...) does the option to encrypt content in porteus in control center offer? I mean, if it is "up to date" and not an old one?
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: How to disable autologin and guest account?
I still can't make this work, I tried all these options:So just keep it empty login= and there will be no autologin.
Code: Select all
login=
login=
login=""
login=''
Code: Select all
login=x
Re: How to disable autologin and guest account?
hi, if you can start in init3 the auto login do not run .you have to login manually with root and password and btw you can change password if needed
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: How to disable autologin and guest account?
Ok, that's an option, but would rather boot directly to gui (level 5 if I remember corectly). Ok if I can't make it work, I can live with thehi, if you can start in init3 the auto login do not run .you have to login manually with root and password and btw you can change password if needed
Code: Select all
login=x
Re: How to disable autologin and guest account?
in porteus cfg located in boot directory i think you can see the option and if you want change it the init 4 is the level for graphic login , init 3 is used by user manual login and if you want you can change desktop environment directly at this level.
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: How to disable autologin and guest account?
Thanks, running to level 3 is without autologin, which is ok, however after login I have to "startx" to get the lxqt, so it is not very convenient way of doing it in my case.in porteus cfg located in boot directory i think you can see the option and if you want change it the init 4 is the level for graphic login , init 3 is used by user manual login and if you want you can change desktop environment directly at this level.
I don't think it is worth complicating with this, I'll stick with my "x user solution", it is good enough
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: [SOLVED]How to disable autologin and guest account?
@Arcull:
From porteus faq:
http://www.porteus.org/tutorials/26-gen ... -them.html
login=user_name
... Lets you specify the name of the user (could be also 'root')
which will be autologged into GUI session.
If username is not provided then booting stops on the lxdm/kdm
login screen.
It works perfectly for me, leaving the login= (empty). I get the login prompt in graphic mode.
You should have this in the /boot/syslinux/porteus.cfg:
LABEL gui
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus login=
TEXT HELP
...
ENDTEXT
What is your grubloader syntax?
From porteus faq:
http://www.porteus.org/tutorials/26-gen ... -them.html
login=user_name
... Lets you specify the name of the user (could be also 'root')
which will be autologged into GUI session.
If username is not provided then booting stops on the lxdm/kdm
login screen.
It works perfectly for me, leaving the login= (empty). I get the login prompt in graphic mode.
You should have this in the /boot/syslinux/porteus.cfg:
LABEL gui
MENU LABEL Graphics mode (XFCE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus login=
TEXT HELP
...
ENDTEXT
What is your grubloader syntax?
Prendre son temps, profiter de celui qui passe.
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: [SOLVED]How to disable autologin and guest account?
thanks francois, this should be the relevant part of my porteus.cfg. As already mentioned, I tried with blank value,and also with one white space...but it just doesn't work.
Code: Select all
LABEL LXQt
MENU LABEL Graphics mode (LXQt)
KERNEL vmlinuz
#APPEND initrd=initrd.xz changes=/porteus timezone=Europe/Ljubljana kmap=si,us
#APPEND initrd=initrd.xz 3 changes=/porteus timezone=Europe/Ljubljana kmap=si,us
APPEND initrd=initrd.xz changes=/porteus timezone=Europe/Ljubljana kmap=si,us login=x
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: [SOLVED]How to disable autologin and guest account?
will check this one. i assume that only LXQt is affected?
Please add [Solved] to your thread title if the solution was found.
-
- White ninja
- Posts: 16
- Joined: 30 Dec 2014, 16:24
- Distribution: Porteus,Ubuntu
- Location: Slovenia
Re: [SOLVED]How to disable autologin and guest account?
thanks fanthom, but worry to much about it, I can live with my simple solution I don't know about other desktops, since I tried only lxqt.
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: [SOLVED]How to disable autologin and guest account?
'login=' is fixed now for LXQt.
will push to updates next week once i patch other bugs.
will push to updates next week once i patch other bugs.
Please add [Solved] to your thread title if the solution was found.
[SOLVED]How to disable autologin and guest account?
Hey guys.
I am using Porteus 5 with KDE.
Is this problem solved? Even I am not able to get the results with "login=" cheatcode. Tried all options like space, blank, "", etc.
Even tried X, but that doesn't work for me. I just want a simple interface where it just asks me to login and not throw errors like in case of login=x or go blank like in case of loading the int version.
Please help with this.
I am using Porteus 5 with KDE.
Is this problem solved? Even I am not able to get the results with "login=" cheatcode. Tried all options like space, blank, "", etc.
Even tried X, but that doesn't work for me. I just want a simple interface where it just asks me to login and not throw errors like in case of login=x or go blank like in case of loading the int version.
Please help with this.
- Rava
- Contributor
- Posts: 5401
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
[SOLVED]How to disable autologin and guest account?
You mean a GUI interface or the text terminal interface?
Aka runlevel 4 vs 3.
Cheers!
Yours Rava
Yours Rava