Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. users.extraUsers = {
  2. clever = {
  3. home = "/home/clever";
  4. isNormalUser = true;
  5. extraGroups = [ "wheel" "wireshark" "vboxusers" ];
  6. uid = 1000;
  7. openssh.authorizedKeys.keys = with keys; [ clever.amd keys.ramboot clever.laptop ];
  8. initialHashedPassword = passwords.hashedPw;
  9. };
  10. };
  11. users.extraGroups.wireshark.gid = 500;
  12. security.setuidOwners = [
  13. { program = "dumpcap";
  14. owner = "root";
  15. group = "wireshark";
  16. setuid = true;
  17. setgid = false;
  18. permissions = "u+rx,g+x";
  19. }
  20. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement