Infini-DL360: remove CS252 research access

This commit is contained in:
Infinidoge 2025-08-14 13:55:54 -04:00
parent db1880f92a
commit 5ed3257499
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
2 changed files with 0 additions and 33 deletions

View file

@ -30,7 +30,6 @@
./postgresql.nix ./postgresql.nix
./privoxy.nix ./privoxy.nix
./radicale.nix ./radicale.nix
./research.nix
./searx.nix ./searx.nix
./ssh.nix ./ssh.nix
./thelounge.nix ./thelounge.nix

View file

@ -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";
}
];
}