summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.sh
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2004-03-30 19:24:56 +0000
committerColin Percival <cperciva@FreeBSD.org>2004-03-30 19:24:56 +0000
commit9cfb9052464d0136a8ba9be3956f2ef4cbfb9a92 (patch)
tree1cddbb2ba419b82f4897f9f54a1d506eb01d64eb /adduser/adduser.sh
parenta4463a5b84a2e8612a822e945db497f8e6f8a899 (diff)
downloadpw-darwin-9cfb9052464d0136a8ba9be3956f2ef4cbfb9a92.tar.gz
pw-darwin-9cfb9052464d0136a8ba9be3956f2ef4cbfb9a92.tar.zst
pw-darwin-9cfb9052464d0136a8ba9be3956f2ef4cbfb9a92.zip
Sychronize with reality: nologin(8) is now in /usr/sbin
Reminded by: trhodes
Diffstat (limited to 'adduser/adduser.sh')
-rw-r--r--adduser/adduser.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/adduser/adduser.sh b/adduser/adduser.sh
index be779bb..c04463d 100644
--- a/adduser/adduser.sh
+++ b/adduser/adduser.sh
@@ -113,7 +113,7 @@ valid_shells() {
esac
done
- # /sbin/nologin is a special case
+ # /usr/sbin/nologin is a special case
[ -x "${NOLOGIN_PATH}" ] && echo -n " ${NOLOGIN}"
}
@@ -139,7 +139,7 @@ fullpath_from_shell() {
esac
done
- # /sbin/nologin is a special case
+ # /usr/sbin/nologin is a special case
if [ "$_shell" = "${NOLOGIN}" ]; then
echo ${NOLOGIN_PATH}
return 0;
@@ -799,7 +799,7 @@ MAILCMD="${MAILCMD:-mail}"
ETCSHELLS="${ETCSHELLS:-/etc/shells}"
NOHOME="/nonexistent"
NOLOGIN="nologin"
-NOLOGIN_PATH="/sbin/nologin"
+NOLOGIN_PATH="/usr/sbin/nologin"
GREPCMD="/usr/bin/grep"
DATECMD="/bin/date"