Updated login.defs

This commit is contained in:
Michiel Broek 2004-11-28 18:23:13 +00:00
parent 9b6b94c67d
commit 723b8bd999
3 changed files with 13 additions and 6 deletions

View File

@ -62,6 +62,10 @@ v0.71.0 27-Oct-2004
are protected. are protected.
In file areas, free downloads is now default for new areas. In file areas, free downloads is now default for new areas.
mblogin:
The file ~/etc/login.defs now has default the issue file
enabled so that it also is displayed for incoming telnet users.
lang: lang:
Changed width of prompt 261. Changed width of prompt 261.
Added prompt 28. Added prompt 28.

View File

@ -44,12 +44,15 @@ install: all
@if [ "`id -un`" != "root" ] ; then \ @if [ "`id -un`" != "root" ] ; then \
echo; echo " Must be root to install!"; echo; exit 3; \ echo; echo " Must be root to install!"; echo; exit 3; \
fi fi
${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6711 mbuseradd ${BINDIR} ${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6711 mbuseradd ${BINDIR}
${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6711 mbpasswd ${BINDIR} ${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 6711 mbpasswd ${BINDIR}
${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 0755 mblogin ${BINDIR} ${INSTALL} -c -s -o ${ROWNER} -g ${RGROUP} -m 0755 mblogin ${BINDIR}
@if [ ! -f ${ETCDIR}/login.defs ] ; then \ @if [ ! -f ${ETCDIR}/login.defs ] ; then \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR} ; \ ${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR} ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR}" ; \ echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR}" ; \
else \
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR}/login.defs.new ; \
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 login.defs ${ETCDIR}/login.defs.new" ; \
fi fi
filelist: Makefile filelist: Makefile

View File

@ -56,7 +56,7 @@ LASTLOG_ENAB yes
# If defined, this file will be output before each login prompt. # If defined, this file will be output before each login prompt.
# Should not be needed, mgetty and getty will do this already. # Should not be needed, mgetty and getty will do this already.
# #
#ISSUE_FILE @prefix@/etc/issue ISSUE_FILE @prefix@/etc/issue
# #
# If defined, name of file whose presence which will inhibit non-root # If defined, name of file whose presence which will inhibit non-root