Last active
September 20, 2017 11:45
-
-
Save felippepuhle/c30df151df75864c2d2be2d90c14ade4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkpasswd --local > /etc/passwd | |
| mkgroup --local > /etc/group | |
| chmod +r /etc/passwd | |
| chmod u+w /etc/passwd | |
| chmod +r /etc/group | |
| chmod u+w /etc/group | |
| chmod 755 /var | |
| touch /var/log/sshd.log | |
| chmod 664 /var/log/sshd.log | |
| editrights -l -u sshd | |
| editrights -a SeAssignPrimaryTokenPrivilege -u sshd | |
| editrights -a SeCreateTokenPrivilege -u sshd | |
| editrights -a SeTcbPrivilege -u sshd | |
| editrights -a SeServiceLogonRight -u sshd | |
| editrights -l -u sshd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment