su - kakarot
echo kamehameha > /opt/invasion_plans/boom
su - vegeta
echo 'final flash' > /opt/invasion_plans/bang
[kakarot@rhel7 ~]$ cat /opt/invasion_plans/bang
final flash
[vegeta@rhel7 ~]$ cat /opt/invasion_plans/boom
kamehameha
In case users need to be restricted from deleting files they didn’t create, you can set the sticky bit with chmod +t /opt/invasion_plans
123456789
________________________________________
/ Your lucky number is 3552664958674928. \
\ Watch for it everywhere. /
----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||