Infini-DL360: remove CS252 research access
This commit is contained in:
parent
db1880f92a
commit
5ed3257499
2 changed files with 0 additions and 33 deletions
|
@ -30,7 +30,6 @@
|
|||
./postgresql.nix
|
||||
./privoxy.nix
|
||||
./radicale.nix
|
||||
./research.nix
|
||||
./searx.nix
|
||||
./ssh.nix
|
||||
./thelounge.nix
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.cs252 = {
|
||||
description = "Guest account for CS 252 researchers";
|
||||
group = "users";
|
||||
isNormalUser = true;
|
||||
shell = pkgs.bash;
|
||||
};
|
||||
|
||||
services.openssh.extraConfig = ''
|
||||
Match user cs252
|
||||
AuthorizedKeysFile /etc/ssh/authorized_keys.d/infinidoge /etc/ssh/authorized_keys.d/%u
|
||||
DisableForwarding yes
|
||||
PasswordAuthentication no
|
||||
'';
|
||||
|
||||
security.pam.loginLimits = [
|
||||
{
|
||||
domain = "cs252";
|
||||
item = "memlock";
|
||||
type = "-";
|
||||
value = "256000000";
|
||||
}
|
||||
{
|
||||
domain = "cs252";
|
||||
item = "as";
|
||||
type = "-";
|
||||
value = "256000000";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue