2 Jun
2018
2 Jun
'18
05:07
01.06.2018 20:20, Mark Hounschell пишет: ...
Then as root: #chown root ./a.out #chgrp root ./a.out #chmod +s ./a.out
Then as user #./a.out
markh
uid=5076(markh) gid=100(users) groups=100(users)
Once the pgm is owned by root and suid, I lose all my group memberships for some unknown reason. It is not proper to me.
man bash If the shell is started with the effective user (group) id not equal to the real user (group) id ... effective user id is set to the real user id. It should actually read "effective user (group) id is set to real user (group) id". -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org