0 votes
in Interview Question by

Explain about “s” permission bit in a file?

1 Answer

0 votes
by

s” bit is called “set user id” (SUID) bit. “s” bit on a file causes the process to have the privileges of the owner of the file during the instance of the program. For example, executing “passwd” command to change the current password causes the user to writes its new password to shadow file even though it has “root” as its owner.

Related questions

0 votes
asked Oct 25, 2019 in Interview Question by AdilsonLima
+2 votes
asked Oct 24, 2019 in Interview Question by AdilsonLima
...