Skip to content

Latest commit

 

History

History

0x01-shell_permissions

img

shell permissions

Intro

Lets have a look at shell permisions

Resources

  1. Permissions
  2. File permissions
  3. Google
  4. Youtube

Man or help

  • chmod
  • sudo
  • su
  • chown
  • chgrp
  • id
  • groups
  • whoami
  • adduser
  • useradd
  • addgroup

Learning objectives

By the end of this project, you should be able to explain to anyone Without the help of google the following concepts

Permissions

  • What do the commands chmod, sudo, su, chown, chgrp do
  • Linux file permissions
  • How to represent each of the three sets of permissions (owner, group, and other) as a single digit
  • How to change permissions, owner and group of a file
  • Why can’t a normal user chown a file
  • How to run a command with root privileges
  • How to change user ID or become superuser

Other man pages

  • How to create a user
  • How to create a group
  • How to print real and effective user and group IDs
  • How to print the groups a user is in
  • How to print the effective userid

Quizes

Quiz