how do i stop root from running a program
Posted
by
joe Lovick
on Ask Ubuntu
See other posts from Ask Ubuntu
or by joe Lovick
Published on 2012-11-14T02:52:48Z
Indexed on
2012/11/14
5:12 UTC
Read the original article
Hit count: 237
permissions
|root
I would like to prevent my root user from running certain applications that can change the permissions of files which in turn prevents normal users from running those applications again.
for example, if i sudo to root, and then run thunderbird from the command prompt, it changes the permissions of files within my home dir / profile so i can no longer run it as a normal user; what i would like to do is prevent root from running thunderbird and hence stop this user error from repeating itself.
any suggestions?
to clarify,
if i have a lot of administration to do i use "sudo -s" which gives me a root shell, its just once a year or so, i shoot myself in the foot.
© Ask Ubuntu or respective owner