: Re: Where would I specify which user is required to run an administration command? I work with a software product that has over 10 major components. The administration of most of these is done
Yes, always tell the reader which user to use
In material like this, there is no way to predict where the reader will start and if they have read any of the preceding material. If they ask themselves "how do I accomplish X" and you have a section named "Doing X", they're going to skip that other stuff. I've seen this described as the every page is page one model. It is very real behavior.
Another good reason to always and explicitly tell the reader what user to use is that (if the user is important) there are probably security implications if the reader uses the wrong user account.
If you are writing task-style topics with a prerequisites section, that is a good place to tell the reader which user to use. However, if your content has a lot of code/command snippets, you can also use a code comment. Using your example:
# As lessPrivilegedUser
clustercommand --resursive --restart
As a reader, I know I personally would appreciate that attention to detail. It also helps make your documentation safer. If the user is just going through your doc and copy/pasting and running commands blindly, they'll at least see that important note.
More posts by @Samaraweera193
: Where would I specify which user is required to run an administration command? I work with a software product that has over 10 major components. The administration of most of these is done
: Is it legal for my book title to be similar to another book's title? My book's title is similar to Around the World in 80 Days. The premise is making a journey in 80 days and while I am
Terms of Use Privacy policy Contact About Cancellation policy © selfpublishingguru.com2024 All Rights reserved.