ma samba: remove isNormalUser again
This commit is contained in:
parent
3af3e6dab3
commit
f7dfc2c43a
@ -1,10 +1,9 @@
|
||||
{config, ... }:{
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; #effectively systemUser
|
||||
group = "share";
|
||||
description = "smb guest user";
|
||||
isNormalUser = true;
|
||||
home = "/home/share";
|
||||
createHome = true;
|
||||
};
|
||||
|
@ -6,7 +6,7 @@ let
|
||||
in {
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||
description = "smb guest user";
|
||||
home = "/var/empty";
|
||||
};
|
||||
|
@ -3,11 +3,10 @@
|
||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; #effectively systemUser
|
||||
description = "smb guest user";
|
||||
home = "/data/lanparty";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
services.samba = {
|
||||
enable = true;
|
||||
|
@ -14,7 +14,6 @@ in {
|
||||
uid = config.ids.uids.smbguest;
|
||||
description = "smb guest user";
|
||||
home = "/var/empty";
|
||||
isNormalUser = true;
|
||||
};
|
||||
services.samba = {
|
||||
enable = true;
|
||||
|
@ -9,10 +9,9 @@
|
||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||
description = "smb guest user";
|
||||
home = "/home/share";
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
};
|
||||
services.samba = {
|
||||
|
@ -3,11 +3,10 @@
|
||||
networking.firewall.allowedTCPPorts = [ 139 445 ];
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||
description = "smb guest user";
|
||||
home = "/home/share";
|
||||
createHome = true;
|
||||
isNormalUser = true;
|
||||
};
|
||||
users.groups.mpd.members = [ "makefu" ];
|
||||
services.samba = {
|
||||
|
@ -1,10 +1,9 @@
|
||||
{config, ... }:{
|
||||
users.users.smbguest = {
|
||||
name = "smbguest";
|
||||
uid = config.ids.uids.smbguest;
|
||||
uid = config.ids.uids.smbguest; # effectively systemUser
|
||||
group = "share";
|
||||
description = "smb guest user";
|
||||
isNormalUser = true;
|
||||
home = "/var/empty";
|
||||
};
|
||||
users.groups.share.members = [ "makefu" ];
|
||||
|
Loading…
Reference in New Issue
Block a user