Vân Anh Nguyen
Member
What are the chmod numbers?
Answer
Octal Modes
4 more rows
Photo in the article by “Flickr”
Steps to Create a New Sudo User
To add a user to the system:
GUI: File permissions
Answer
Octal Modes
Octal number | Symbolic | Permission |
|---|---|---|
4 | r– | read |
5 | r-x | read/execute |
6 | rw- | read/write |
7 | rwx | read/write/execute |
Photo in the article by “Flickr”
Code:
https://www.flickr.com/photos/xmodulo/14837266181
- Log in to your server as the root user. ssh
[email protected]
_ip_address. - Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create.
- Use the usermod command to add the user to the sudo group.
- Test sudo access on new user account.
- Open a shell prompt.
- If you are not logged in as root, type the command su – and enter the root password.
- Type useradd followed by a space and the username for the new account you are creating at the command line (for example, useradd jsmith).
To add a user to the system:
- Issue the useradd command to create a locked user account: useradd <username>
- Unlock the account by issuing the passwd command to assign a password and set password aging guidelines: passwd <username>
GUI: File permissions
- Open Nautilus.
- Navigate to the target file or folder.
- Right click the file or folder.
- Select Properties.
- Click on the Permissions tab.
- Click on the Access files in the Others section.
- Select “Create and delete files”
- Click Change Permissions for Enclosed Files.