daemon.8: Document -u sets HOME, USER, and SHELL

Fixes:	6b3ad1d737 When -u option is used also set USER, HOME and SHELL
MFC after:	3 days
This commit is contained in:
Mateusz Piotrowski 2023-09-18 19:17:55 +01:00
parent ee23e1e496
commit c1207678f7

View file

@ -24,7 +24,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd January 14, 2021
.Dd September 18, 2023
.Dt DAEMON 8
.Os
.Sh NAME
@ -176,6 +176,11 @@ Set the title for the daemon process.
The default is the daemonized invocation.
.It Fl u , Fl -user Ar user
Login name of the user to execute the program under.
Environment variables
.Ev HOME , USER ,
and
.Ev SHELL
are set accordingly.
Requires adequate superuser privileges.
.El
.Pp