disable the root user
This commit is contained in:
parent
9297af85c5
commit
5b91851b95
|
@ -44,6 +44,8 @@ in
|
|||
keyMap = "us";
|
||||
};
|
||||
|
||||
# Disable the root user
|
||||
users.users.root.hashedPassword = "!";
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
|
|
Loading…
Reference in New Issue