autologin broke after username and passwords changed
-
- Ronin
- Posts: 3
- Joined: 06 Oct 2012, 07:57
- Location: United States
autologin broke after username and passwords changed
I have a fresh built usb stick with Porteus 32-bit, it booted to kde with autologin, I changed the password for root, then deleted the "guest" account using kuser, and created a new user "userxxx" and set the UID to 1000 (the same as guest was), then I went to kcontrol and set the system administration>login manager>convience from guest to userxxx as the user to autologin. However when I reboot from the usb stick it tries to launch kde but fails and falls back to command line. When I reboot from the usb stick and slect always fresh it autologsin and loads kde.
How do I get it to autologin my set userxxx?
How do I get it to autologin my set userxxx?
-
- Ronin
- Posts: 3
- Joined: 06 Oct 2012, 07:57
- Location: United States
Re: autologin broke after username and passwords changed
ps, when it fails to launch kde and kicks me to the command line I can login as userxxx and issue startx and everything works, I want to eliminate the need to login from command line and manually startx, need autologin fix?
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: autologin broke after username and passwords changed
hi brent3hasty,
please edit /etc/rc.d/rc.M and replace 'guest' with name of your user.
@all
would it make sense to replace 'toroot' cheatcode with 'autologin=' so users could specify any user they want?
please edit /etc/rc.d/rc.M and replace 'guest' with name of your user.
@all
would it make sense to replace 'toroot' cheatcode with 'autologin=' so users could specify any user they want?
Please add [Solved] to your thread title if the solution was found.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: autologin broke after username and passwords changed
I believe this is a better solution as shown in the above example where a user changes the user name. It could replace 'toroot' and makes it more flexible. I vote yes!would it make sense to replace 'toroot' cheatcode with 'autologin=' so users could specify any user they want?
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: autologin broke after username and passwords changed
My vote is No. Because an unauthorized user can access to another account like in Windoze. Many accounts. If we can block 'on-the-fly boot command edit' with TAB button then I'll vote Yes!
NjVFQzY2Rg==
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: autologin broke after username and passwords changed
@Hamza
so far user could just use 'toroot' cheatcode to access other accounts so 'autologin=user_name' wont change much.
we can't afford disabling command line editing in standard editions.
will implement 'autologin=xx' in rc.M.
'autologin=root' will replace 'toroot' cheatcode
'autologin=' will replace 'noautologin'
this way we reduce number of cheats and extend Porteus functionality
@Ahau
please add 'autologin=' to your TODO list for documentation updates for porteus-2.0.
EDIT:\\
@Ahau
'autologin=' is a bit long to type. let's stick to 'login=' instead.
please also mention that it's going to work for GUI only as autologin to text mode is a bit more complicated (and requires external utility) as per:
http://forum.porteus.org/viewtopic.php?f=81&t=1560
so far user could just use 'toroot' cheatcode to access other accounts so 'autologin=user_name' wont change much.
we can't afford disabling command line editing in standard editions.
will implement 'autologin=xx' in rc.M.
'autologin=root' will replace 'toroot' cheatcode
'autologin=' will replace 'noautologin'
this way we reduce number of cheats and extend Porteus functionality
@Ahau
please add 'autologin=' to your TODO list for documentation updates for porteus-2.0.
EDIT:\\
@Ahau
'autologin=' is a bit long to type. let's stick to 'login=' instead.
please also mention that it's going to work for GUI only as autologin to text mode is a bit more complicated (and requires external utility) as per:
http://forum.porteus.org/viewtopic.php?f=81&t=1560
Please add [Solved] to your thread title if the solution was found.
Re: autologin broke after username and passwords changed
I understand. We may add an option to disable it for "experimented users" ? A cheat in syslinux/isolinux cfg files ?we can't afford disabling command line editing in standard editions.
NjVFQzY2Rg==
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: autologin broke after username and passwords changed
setting 'timeout' value to '0' in porteus.cfg is all what user need to do to disable commandline editing.We may add an option to disable it for "experimented users" ? A cheat in syslinux/isolinux cfg files
Please add [Solved] to your thread title if the solution was found.
Re: autologin broke after username and passwords changed
I know. You have used this way to disable it in another project. But allowing switching between versions and allowing editing boot command are not the same from my point of view.
NjVFQzY2Rg==
- schultzter
- White ninja
- Posts: 4
- Joined: 09 May 2011, 03:25
- Distribution: Slackware
- Location: Montreal, QC
- Contact:
Re: autologin broke after username and passwords changed
I'd like to add my vote to an autologin or login or whatever cheat code.
I took a look at rc.M and I'm not afraid of bash scripts, I've written my fair share, but I'd rather not mess with such an important, base file.
Also, I share my NAS via NFS - since all my hosts are Linux it makes sense. Even in Porteus I'd really like to keep the users in sync. So using guest in Porteus is not preferred.
Thanks,
I took a look at rc.M and I'm not afraid of bash scripts, I've written my fair share, but I'd rather not mess with such an important, base file.
Also, I share my NAS via NFS - since all my hosts are Linux it makes sense. Even in Porteus I'd really like to keep the users in sync. So using guest in Porteus is not preferred.
Thanks,
--
Headed for the second star to the right and straight on 'til morning...
Eric Schultz (aka schultzter)
Read more at 2FatDads
Headed for the second star to the right and straight on 'til morning...
Eric Schultz (aka schultzter)
Read more at 2FatDads