USER SPACE vs ROOT
What the difference between both. If I create a script in root, how can I run in user space.
|
root is a user just with different permissions (i.e all of them) then a regular user.
I think you actually mean kernel space. https://en.wikipedia.org/wiki/User_space http://rhelblog.redhat.com/2015/07/2...-kernel-space/ |
You can create a script as root, then copy it to ~/[username], change the ownership and permissions according, and then [username] can run the script.
If you want all users to have access to it, I suppose you could put in a subdirectory under /opt, also making the correct adjustments to ownership and permissions. A web search isn't helping me out much here, but I did find this: https://serverfault.com/questions/96...r-or-opt/96420 User cannot and, indeed, should not have access to /root. Allowing creates a giant security hole. |
or1on, in linux speak, this is userspace:
Quote:
|
All times are GMT -5. The time now is 02:47 PM. |