Hi all,
I have started testing out the live-build suite and managed to configure this and that.
The problem I have is that I do not want to have the autologin with user.
As soon as I create a new user the login crashes and I do not even get a prompt to login.
I have found:
https://manpages.debian.org/buster/live ... .7.en.html
I have read it and found: live-config.noautologin
I do not seem to be able to figure out how to use it and make the configuration the right way.
Please, give me some hints on how to apply this setting.
Second of all I want to remove the user (user) and just create my own.
I tried to add, userdel user, to my hook but I just got the error that the user does not exist.
Many thanks in advance!!
Regards
Marcus
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
live-build noautologin
Re: live-build noautologin
I tried to use the following flag for lb config:
--bootappend-live live-config.noautologin
But that did not work.
Any suggestions?
Thanks
--bootappend-live live-config.noautologin
But that did not work.
Any suggestions?
Thanks
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: live-build noautologin
Try
Replace foo with the desired custom username.
Code: Select all
lb config noauto --bootappend-live 'noautologin live-config.username=foo'
deadbang
Re: live-build noautologin
Thanks for the help Head_on_a_Stick
Just as reference you also need boot=live to make it work, as in:
To make it easier I created a script in auto/config
which means that I just have to run lb config and it will use my auto/config file.
Do not forget to change to exec permission on auto/config (which I did)
My auto/config looks like:
Just as reference you also need boot=live to make it work, as in:
Code: Select all
--bootappend-live "boot=live components locales=sv_SE.UTF-8 keyboard-layouts=se noautologin"
which means that I just have to run lb config and it will use my auto/config file.
Do not forget to change to exec permission on auto/config (which I did)
My auto/config looks like:
Code: Select all
#!/bin/sh
lb config noauto \
--distribution buster \
--binary-images iso-hybrid \
--bootappend-live "boot=live components locales=sv_SE.UTF-8 keyboard-layouts=se noautologin" \
--bootappend-live-failsafe "boot=live components locales=sv_SE.UTF-8 keyboard-layouts=se noautologin" \
"${@}"
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: live-build noautologin
Good idea, I also use that method: https://github.com/Head-on-a-Stick/Shar ... uto/configmarcux2 wrote:To make it easier I created a script in auto/config
Please edit the title of the thread (in the first post) and prepend [SOLVED] to help others who encounter this problem.
deadbang