From 053508780e0afcb1aa53c29eafd8540e0519e6ee Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Tue, 30 Mar 2004 19:24:56 +0000 Subject: Sychronize with reality: nologin(8) is now in /usr/sbin Reminded by: trhodes --- adduser/adduser.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adduser/adduser.sh') 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" -- cgit v1.2.3-56-ge451