11618 Use exec_attr instead of suid for smbfs mount and unmount
Review Request #2262 — Created Aug. 24, 2019 and submitted — Latest diff uploaded
Information | |
---|---|
gwr | |
illumos-gate | |
11618 | |
Reviewers | |
general | |
11618 Use exec_attr instead of suid for smbfs mount and unmount
I have to say, the old "SUID, add priv, drop SUID" seemed simpler.
I guess the RBAC way is "better", right? :)
Works now.
gwr@gwr-oi2$ mkdir H gwr@gwr-oi2$ mount -F smbfs //gwr@sm20lab/home_gwr H gwr@gwr-oi2$ ls H [...] gwr@gwr-oi2$ umount H