Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 20:21:23 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336840 - in head: etc lib/libc/gen
Message-ID:  <201807282021.w6SKLNru031947@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Sat Jul 28 20:21:23 2018
New Revision: 336840
URL: https://svnweb.freebsd.org/changeset/base/336840

Log:
  Move etc/shells to lib/libc/gen with getusershell(3).
  
  Approved by:	will (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16467

Added:
  head/lib/libc/gen/shells
     - copied unchanged from r336839, head/etc/shells
Deleted:
  head/etc/shells
Modified:
  head/etc/Makefile
  head/lib/libc/gen/Makefile.inc

Modified: head/etc/Makefile
==============================================================================
--- head/etc/Makefile	Sat Jul 28 20:21:04 2018	(r336839)
+++ head/etc/Makefile	Sat Jul 28 20:21:23 2018	(r336840)
@@ -47,7 +47,6 @@ BIN1=	crontab \
 	remote \
 	rpc \
 	services \
-	shells \
 	sysctl.conf \
 	syslog.conf \
 	termcap.small

Modified: head/lib/libc/gen/Makefile.inc
==============================================================================
--- head/lib/libc/gen/Makefile.inc	Sat Jul 28 20:21:04 2018	(r336839)
+++ head/lib/libc/gen/Makefile.inc	Sat Jul 28 20:21:23 2018	(r336840)
@@ -4,6 +4,8 @@
 # machine-independent gen sources
 .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen
 
+CONFS=	shells
+
 SRCS+=	__getosreldate.c \
 	__pthread_mutex_init_calloc_cb_stub.c \
 	__xuname.c \

Copied: head/lib/libc/gen/shells (from r336839, head/etc/shells)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lib/libc/gen/shells	Sat Jul 28 20:21:23 2018	(r336840, copy of r336839, head/etc/shells)
@@ -0,0 +1,9 @@
+# $FreeBSD$
+#
+# List of acceptable shells for chpass(1).
+# Ftpd will not allow users to connect who are not using
+# one of these shells.
+
+/bin/sh
+/bin/csh
+/bin/tcsh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807282021.w6SKLNru031947>