← Back to context

Comment by Aachen

4 months ago

Do I understand correctly that su is to switch user, and that your patch makes it work with the target user's credentials rather than necessarily root?

I was confused while reading because I nearly only ever use su to switch to the superuser account and obviously to get root permissions you should be root or else it's a security issue. Looking up what su does on FreeBSD, I was reminded that it can switch to any user. I've actually used that before. You made that? :o