]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Sychronize with reality: nologin(8) is now in /usr/sbin
authorColin Percival <cperciva@FreeBSD.org>
Tue, 30 Mar 2004 19:24:56 +0000 (19:24 +0000)
committerColin Percival <cperciva@FreeBSD.org>
Tue, 30 Mar 2004 19:24:56 +0000 (19:24 +0000)
Reminded by: trhodes

adduser/adduser.sh

index be779bb737352535391bc39187b4cb6f38d11739..c04463d389d0fc4ab748fcf091f3f30f74fe472b 100644 (file)
@@ -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"