help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] Root access in subshell


From: Richard Taubo
Subject: [Help-bash] Root access in subshell
Date: Fri, 24 Jan 2014 10:20:38 +0100

Hei!

I am running the following command in the terminal logged in as root (not via a 
script):
        [#] $(find / -user myuser)      # This is a part of a little larger 
script

When running this subshell, the subshell does not execute the command as root.
Is there a way to execute the subshell as root as well (as I am logged in as 
root)?

Thanks!

Richard Taubo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]