Keep It Simple, Stupid | |
PerlMonks |
Re^6: creating a secure environment for perl scripts to runby afoken (Chancellor) |
on Feb 03, 2022 at 16:47 UTC ( [id://11141109]=note: print w/replies, xml ) | Need Help?? |
Just be aware that su can also be used by root to downgrade to other users on occasion. That can also be done by sudo:
Add -i to get an interactive shell, if possible. Note that the nobody account is intentionally configured to have an invalid home directory and an invalid login shell, so you won't get an interactive shell as nobody.
Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|