summaryrefslogtreecommitdiffstats
path: root/usr.sbin/adduser
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-10-01 09:56:36 +0000
committermpi <mpi@openbsd.org>2014-10-01 09:56:36 +0000
commit2705e866a2a9e403cee3bdd8c2e5b4e4a4435e86 (patch)
treeffa7157e89dfdcddaaf020700b697cae35f1b818 /usr.sbin/adduser
parenttedu sliplogin and slstats to beging with the slip, slipping out of the (diff)
downloadwireguard-openbsd-2705e866a2a9e403cee3bdd8c2e5b4e4a4435e86.tar.xz
wireguard-openbsd-2705e866a2a9e403cee3bdd8c2e5b4e4a4435e86.zip
Do not mention sliplogin(8) and sl(4).
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r--usr.sbin/adduser/adduser.86
-rw-r--r--usr.sbin/adduser/adduser.perl4
2 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8
index e38f98c9864..8eb7eb52dfc 100644
--- a/usr.sbin/adduser/adduser.8
+++ b/usr.sbin/adduser/adduser.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: adduser.8,v 1.42 2013/01/18 21:48:43 jmc Exp $
+.\" $OpenBSD: adduser.8,v 1.43 2014/10/01 09:56:36 mpi Exp $
.\"
.\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" SUCH DAMAGE.
.\"
.\" $From: adduser.8,v 1.12 1996/08/28 17:54:13 adam Exp $
-.Dd $Mdocdate: January 18 2013 $
+.Dd $Mdocdate: October 1 2014 $
.Dt ADDUSER 8
.Os
.Sh NAME
@@ -257,8 +257,6 @@ must exist in
Only valid entries from the
.Xr shells 5
database or entries corresponding to
-.Xr sliplogin 8
-and
.Xr pppd 8
are permitted.
.It Sy uid_start
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl
index 5290e7a6a38..19e07a04014 100644
--- a/usr.sbin/adduser/adduser.perl
+++ b/usr.sbin/adduser/adduser.perl
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
-# $OpenBSD: adduser.perl,v 1.62 2014/07/13 20:09:38 tedu Exp $
+# $OpenBSD: adduser.perl,v 1.63 2014/10/01 09:56:36 mpi Exp $
#
# Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
# All rights reserved.
@@ -317,7 +317,7 @@ sub passwd_read {
if ($verbose && $sh &&
!$shell{&basename($sh)} &&
$p_username !~ /^(news|xten|bin|nobody|uucp)$/ &&
- $sh !~ /\/(pppd|sliplogin)$/);
+ $sh !~ /\/pppd$/);
$uid{$p_uid} = $p_username;
$pwgid{$p_gid} = $p_username;
}