My FC33->FC34 bind-chroot upgrade notes
ToddAndMargo at zoho.com
Wed Jun 16 20:02:50 UTC 2021
On 6/16/21 12:45 PM, Richard T.A. Neal wrote:
> On 16 June 2021 7:31 pm, ToddAndMargo wrote:
>> Does this alteration at the top make it any clearer?
>> Note: at the command prompt, I use the following terminology:
>> # means run as root
>> $ means run as user
>> Inside a file, "#" mean it is a comment
> Others might have better suggestions but the way I tend to do this is to simply prefix any commands that must be run as root with 'sudo', eg;
> $ sudo rndc reconfig
> $ tail /var/log/syslog
> Thus it’s hopefully clear which lines need to be run with root privileges and demonstrates using sudo to achieve this.
I have used su for such in the past:
$ su root -c "command and parameters"
to make it obvious it is a root command.
I personally can't stand the sudo command, so
I usually avoid it.
Lately, I just use # and $, but I can see now
where that would cause some confusion.
More information about the bind-users