Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2023 21:59:45 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: c1207678f7eb - main - daemon.8: Document -u sets HOME, USER, and SHELL
Message-ID:  <202309182159.38ILxjva045363@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c1207678f7ebd546a0705dabc3218e49abe06a99

commit c1207678f7ebd546a0705dabc3218e49abe06a99
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-09-18 18:17:55 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-09-18 21:59:10 +0000

    daemon.8: Document -u sets HOME, USER, and SHELL
    
    Fixes:  6b3ad1d73732 When -u option is used also set USER, HOME and SHELL
    MFC after:      3 days
---
 usr.sbin/daemon/daemon.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/daemon/daemon.8 b/usr.sbin/daemon/daemon.8
index 5ccf18566240..fce08bc90e62 100644
--- a/usr.sbin/daemon/daemon.8
+++ b/usr.sbin/daemon/daemon.8
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309182159.38ILxjva045363>