u
This commit is contained in:
		
							parent
							
								
									e86ff29047
								
							
						
					
					
						commit
						4473a6ed4e
					
				| @ -5,6 +5,7 @@ if [ $UserName ] | ||||
| then | ||||
|   sed -i "s/^.*autologin-user=.*$/autologin-user=$UserName/g" /etc/lightdm/lightdm.conf | ||||
|   sed -i "s/^.*autologin-user-timeout=.*$/autologin-user-timeout=0/g" /etc/lightdm/lightdm.conf | ||||
|   echo "Successfully configured autologin as $UserName" | ||||
| else | ||||
|   echo 'Nothing changed.' | ||||
| fi | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user