Su Must Be Suid To Work Properly -

The primary difference is logic flow:

Beyond the mechanics of switching users, su also needs SUID permissions to perform its most sensitive task: reading the password database. su must be suid to work properly

The su command is designed to let a user become another user, most commonly . To perform this action securely, the program must do two things that a normal user is not allowed to do: The primary difference is logic flow: Beyond the

The su command, short for "substitute user," is a powerful tool in Unix-like operating systems that allows users to switch to another user account, typically the superuser (root), to perform tasks that require elevated privileges. For su to function effectively and as intended, especially in multi-user environments, it must be set with the SUID (Set User ID) bit. short for "substitute user