mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 21:28:48 +00:00
Update tabs/utils/auto-login.sh
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
8fdb105078
commit
6646c4d81c
|
@ -42,7 +42,7 @@ configure_lightdm() {
|
||||||
echo "Configuring LightDM for autologin..."
|
echo "Configuring LightDM for autologin..."
|
||||||
|
|
||||||
echo "Enter username for LightDM autologin: "
|
echo "Enter username for LightDM autologin: "
|
||||||
read user
|
read -r user
|
||||||
|
|
||||||
$ESCALATION_TOOL "echo '[Seat:*]' > /etc/lightdm/lightdm.conf.d/50-autologin.conf"
|
$ESCALATION_TOOL "echo '[Seat:*]' > /etc/lightdm/lightdm.conf.d/50-autologin.conf"
|
||||||
$ESCALATION_TOOL "echo 'autologin-user=$user' >> /etc/lightdm/lightdm.conf.d/50-autologin.conf"
|
$ESCALATION_TOOL "echo 'autologin-user=$user' >> /etc/lightdm/lightdm.conf.d/50-autologin.conf"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user