• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Part 5 permissions
 

Part 5 permissions

on

  • 575 views

 

Statistics

Views

Total Views
575
Views on SlideShare
575
Embed Views
0

Actions

Likes
0
Downloads
4
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Part 5 permissions Part 5 permissions Presentation Transcript

    • Violenetsecurity Red Hat video Series for RHCE & RHCSA Part-5 Permissions
    • ● On the basic of User/Group/Other ● User -> Creator or Owner of File/Folder. ● Group ->users that are in same group to whom the File/Folder Belongs. ● Others -> Neighter Owner nor in Group. Part-5 Permissions Permissions
    • ● There are three type of permissions – Read ( r ) -> 4 – Write ( w ) -> 2 – Execute ( x ) ->1 ● Setting up permissions via chmod Part-5 Permissions Permissions
    • ● Say want to give read and write permission to file1 for group then – chmod g+rw file1 ● If want to give read and execute permission to file1 from others – chmod o+rw file1 ● To give read,write and execute permission to file1 for owner – chmod u+rwx file1 Part-5 Permissions Permissions
    • ● Say want to REVOKE read and write permission to file1 for group then – chmod g-rw file1 ● If want to REVOKE read and execute permission to file1 from others – chmod o-rw file1 ● To REVOKE read,write and execute permission to file1 for owner – chmod u-rwx file1 Part-5 Permissions Permissions
    • ● If want to give permissions collectively then : – chmod u+rwx,g+rw,o+rw file1 ● To revoke the same : – chmod u-rwx,g-rw,o-rw file1 ● Easy way to give permissions – Chmod 766 file1 Part-5 Permissions Collective Permissions
    • ● There are 3 special permissions – SUID ( Super User Id ) – SGID ( Super Group Id ) – STICKY BIT ( t ) Part-5 Permissions Special Permissions
    • ● Super User Id Enables a command to run with super user previleges. ● chmod u+s fileLocation ● chmod u-s fileLocation ● Chmod 4755 fileLoation Part-5 Permissions Special Permissions
    • ● Super Group Id Enables Group Permissions to Folder/Files ● chmod g+s file/folder ● chmod g-s file/folder ● Chmod 2755 fileLoation Part-5 Permissions Special Permissions
    • ● Sticky Bit allows to delete only those files which are being created by themselves ● Chmod 1755 file/dir ● Chmod o+t file/dir Part-5 Permissions Special Permissions
    • End of Part 5