Why is the SUID/SGID bit set for the chage command?

Why is the SUID/SGID bit set for the chage command?Category: Introduction to Linux IIAuthor "LinuxQuestions"Why is the SUID/SGID bit set for the chage command?
Linux Questions Staff asked 1 year ago

Why is the SUID/SGID bit set for the chage command?

  • To provide access to all users without any restrictions
  • To make the effective user id the same as the saved user id
  • To provide user access to files in the /etc directory that are otherwise accessible to root only
  • To restrict access to the root user only

About the author