- VNC works using the protocol of RFB, remote frame buffer
- multiple clients can connect to the vnc server.
- /etc/groups - shows all the group including the members
- chmod
- 4 = user
- 2 = group
- 1 = other
- Full permission = 4 + 2 + 1 = 7
- chown changing the ownership and group of the file
- chown user1:user1 myfile
- chgrp = just changes the group of the file
- chmod +x filename
- this will give execute command to user, group and others
- chmod -r filename
- this will revoke read permission to user, group and others
- disk quota - restrict the usage of disk for the user
- to enable the quota, it should be mentioned in the /etc/fstab
- /etc/sudoers
- root ALL=(ALL) ALL
- The first All defines the host
- Second All means control all users and group
- The third one is to allow all commands
- IF ALL = NOPASSWD: systemctl restart htppd, PASSWD: /bin/chown
- then it won't ask password for specific tasks
Recent Pastes