5. umask is a command that displays or sets the users file creation mask. Read man page of umask command. Run the umask

Help me please, that problem is Unix Operating System

5. “umask” is a command that displays or sets the user’s file creation mask. Read man page of “umask” command. Run the “umask” command to find out the value of permissions for new files Now change the value of “umask” to some other value. Does this change have any effect on the permissions of existing files? How does this change affect the permissions of new files created? Encrypted password files are kept in /etc/shadow and/or /etc/passwd, depending on your system. Run the commands: ls -l /etc/pas swd ls -l /etc/passwd- ls -l/etc/shadow ls -l /etc/shadow- Who owns these files? Ordinary users do not have write permission for this file. However, ordinary users can change their password by running the “passwd” command, effectively writing into this file. Explain how this is accomplished by examining the permissions of the password changing program /usr/bin/passwd



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *