su command question
Mario Vukelic
mario.vukelic at dantian.org
Sat Jul 5 07:35:34 UTC 2008
On Sat, 2008-07-05 at 08:15 +0100, Alan Milnes wrote:
>
> He could do but it's just a long winded way of doing what I suggested!
It seems to me that it depends on what he really wants. What you
suggested makes the script run as root, my suggestion makes it run as
another user.
Following the principle of least privilege, I would suggest not running
as root unless absolutely required.
More information about the ubuntu-users
mailing list