added some users
parent
f7ec66b93e
commit
0e775789d1
|
|
@ -59,6 +59,7 @@
|
||||||
networking.firewall.extraCommands = ''
|
networking.firewall.extraCommands = ''
|
||||||
iptables -A INPUT -p tcp -s 95.90.121.54 -j ACCEPT
|
iptables -A INPUT -p tcp -s 95.90.121.54 -j ACCEPT
|
||||||
'';
|
'';
|
||||||
|
services.fail2ban.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.loooph = {
|
users.users.loooph = {
|
||||||
|
|
|
||||||
18
openldap.nix
18
openldap.nix
|
|
@ -29,11 +29,27 @@
|
||||||
|
|
||||||
dn: cn=test, ou=users, o=bib3, c=DE
|
dn: cn=test, ou=users, o=bib3, c=DE
|
||||||
objectclass: InetOrgPerson
|
objectclass: InetOrgPerson
|
||||||
cn: testcn
|
cn: test
|
||||||
sn: testsn
|
sn: testsn
|
||||||
givenName: test test
|
givenName: test test
|
||||||
mail: test@test.de
|
mail: test@test.de
|
||||||
userPassword: {CRYPT}$6$ssV7iTyDF7VMB.gx$DKUJgb/M5q.nd0/ilBTQRaR/pw9bMGhbrCp0CSD9Mt1epgoXYu9LA9P4UtWOyVV/QV3LHvJNoiBsfZMcBMAQN.
|
userPassword: {CRYPT}$6$ssV7iTyDF7VMB.gx$DKUJgb/M5q.nd0/ilBTQRaR/pw9bMGhbrCp0CSD9Mt1epgoXYu9LA9P4UtWOyVV/QV3LHvJNoiBsfZMcBMAQN.
|
||||||
|
|
||||||
|
dn: cn=loooph, ou=users, o=bib3, c=DE
|
||||||
|
objectclass: InetOrgPerson
|
||||||
|
cn: loooph
|
||||||
|
sn:
|
||||||
|
givenName: Christoph
|
||||||
|
mail:
|
||||||
|
userPassword: {CRYPT}$6$ssV7iTyDF7VMB.gx$DKUJgb/M5q.nd0/ilBTQRaR/pw9bMGhbrCp0CSD9Mt1epgoXYu9LA9P4UtWOyVV/QV3LHvJNoiBsfZMcBMAQN.
|
||||||
|
|
||||||
|
dn: cn=lmux, ou=users, o=bib3, c=DE
|
||||||
|
objectclass: InetOrgPerson
|
||||||
|
cn: lmux
|
||||||
|
sn:
|
||||||
|
givenName:
|
||||||
|
mail:
|
||||||
|
userPassword: {CRYPT}$6$NGdlZVYAvETLQAb2$AXyC9myezCAGGq94HvyKRgjpvt04MGZXcMSMS5vP10Y.LzPot/DyRdIvx2LBs9rsOtTGsFYPCpTx7dnEK1LDs0
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# TODO move users to seperate files
|
# TODO move users to seperate files
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue