login.conf.5: Remove mention of login copyright setting

PR: 291649
Fixes: 905571c031 ("Remove copyright strings printed at login time via login(1) or sshd(8).")
Signed-off-by: Simon Wollwage rootnode+freebsd@wollwage.com
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1926
This commit is contained in:
Simon Wollwage 2025-12-15 06:27:19 +00:00 committed by Warner Losh
parent 4b2a8aab43
commit 54ce6b2c4c
4 changed files with 1 additions and 7 deletions

View file

@ -17,7 +17,7 @@
.\" 5. Modifications may be freely made to this file providing the above
.\" conditions are met.
.\"
.Dd September 25, 2025
.Dd December 15, 2025
.Dt LOGIN.CONF 5
.Os
.Sh NAME
@ -288,7 +288,6 @@ explicitly indicates not to change the umask.
.Bl -column passwd_prompt indent indent
.It Sy "Name Type Default Description"
.\" .It "approve program Program to approve login.
.It "copyright file File containing additional copyright information"
.It "host.allow list List of remote host wildcards from which users in"
the class may access.
.It "host.deny list List of remote host wildcards from which users"

View file

@ -23,7 +23,6 @@
default:\
:passwd_format=sha512:\
:copyright=/etc/COPYRIGHT:\
:welcome=/var/run/motd:\
:setenv=BLOCKSIZE=K:\
:mail=/var/mail/$:\
@ -127,7 +126,6 @@ russian|Russian Users Accounts:\
## standard - standard user defaults
##
#standard:\
# :copyright=/etc/COPYRIGHT:\
# :welcome=/var/run/motd:\
# :setenv=BLOCKSIZE=K:\
# :mail=/var/mail/$:\

View file

@ -80,7 +80,6 @@ EOF
cat > $NEW/etc/login.conf <<EOF
default:\\
:passwd_format=md5:\\
:copyright=/etc/COPYRIGHT
EOF
cat > $TEST/etc/login.conf <<EOF
default:\\
@ -247,7 +246,6 @@ echo "Checking 'r':"
cat > $CONFLICTS/etc/login.conf <<EOF
default:\\
:passwd_format=md5:\\
:copyright=/etc/COPYRIGHT\\
:welcome=/etc/motd:
EOF

View file

@ -596,7 +596,6 @@ EOF
cat > $NEW/etc/login.conf <<EOF
default:\\
:passwd_format=md5:\\
:copyright=/etc/COPYRIGHT
EOF
cp $OLD/etc/login.conf $TEST/etc/login.conf