Oct 18, 2019 in Interview Question
Q:

Explain about “s” permission bit in a file?

1 Answer

0 votes
Oct 18, 2019

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

+1 vote
Oct 24, 2019 in Interview Question
+1 vote
Oct 24, 2019 in Interview Question
...