The program su enables a UNIX user to access another users a
The program su enables a UNIX user to access another user\'s account. Unless the first user is the superuser, su requires that the password of the second user be given. A (possibly apocryphal) version of su would ask for the user\'s password and, if it could not determine if the password was correct because the password file could not be opened, immediately grant superuser access so that the user could fix the problem. Discuss which of the design principles this approach meets, and which ones it violates.
The program su enables a UNIX user to access another user\'s account. Unless the first user is the superuser, su requires that the password of the second user be given. A (possibly apocryphal) version of su would ask for the user\'s password and, if it could not determine if the password was correct because the password file could not be opened, immediately grant superuser access so that the user could fix the problem. Discuss which of the design principles this approach meets, and which ones it violates.
Solution
whenever you like the process needs to read the file, it presents the file descriptor to the kernel. The kernel then allows the right of entry. If the possessor of the file disallows the process agreement to read the file following the file descriptor is issued, the kernel tranquil allows access. This system violates the code of absolute mediation, because the access is not tartan. The cached value is used, consequential in the denial of access creature unsuccessful.
