]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logindefs: Add function to set PATH
authorKarel Zak <kzak@redhat.com>
Wed, 7 May 2025 10:03:51 +0000 (12:03 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 7 May 2025 10:03:51 +0000 (12:03 +0200)
commit7b0423d33cc70928ae1138d95a48d0031f60c90a
treee0ec43a206ea48d4726b0577f612e7fe317fdcc3
parent4e417332f4154acb0e7a12c775696eb561a405aa
logindefs: Add function to set PATH

Let's avoid duplicate code in su() and login(1).

Signed-off-by: Karel Zak <kzak@redhat.com>
include/logindefs.h
lib/logindefs.c