backgrounding a su process...

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

 



List,

Should I quote the command passed to su when backgrounding a process as a low-privileged user? For example:


...some important setup code... su - nobody -c /path/to/script/run/as/nobody &

OR

su - nobody -c "/path/to/script/run/as/nobody &"

OR EVEN

su - nobody -c (/path/to/script/run/as/nobody &)

Thanks for suggestions in advance.
Tim


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux