X hits on this document

9 views

0 shares

0 downloads

0 comments

3 / 3

CIS/CSE 643: Computer Security (Syracuse University)

  • The chown command.

% chown wedu file

Unix Security Overview: 3

    • Q: Can we allow a user to change the owner of files to another user? No. Actually, only root can use chown. Why? We will understand why after we have learned Set-UID

  • Change the group of files

  • The chgrp command.

% chgrp seed

/home/seed/785

    • Q: Can we allow a user to change the group of files to another group? Yes/No. If you want to change to group XYZ, you must be a member of XYZ The reason is similar to the chown command (Set-GID).

  • Miscellaneous

% whoami (to print out your current user name)

% /usr/bin/id

(display both uid and gid)

% man chmod

(find the manual for the chmod command)

September 7, 2009

Document info
Document views9
Page views9
Page last viewedFri Oct 28 07:06:13 UTC 2016
Pages3
Paragraphs133
Words678

Comments