mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Suggest a command to delete user instead of actually deleting it
PR: 32536
This commit is contained in:
parent
5b36ff26b0
commit
61a5d44121
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51196
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache+mod_ssl
|
||||
PORTVERSION= ${VERSION_APACHE}+${VERSION_MODSSL}
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= www security
|
||||
MASTER_SITES= http://www.apache.org/dist/httpd/ \
|
||||
http://www.modssl.org/source/ \
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache13-modssl/Attic/pkg-deinstall,v 1.1 2001-10-22 18:05:33 ache Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache13-modssl/Attic/pkg-deinstall,v 1.2 2001-12-07 23:12:32 ache Exp $
|
||||
#
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
@ -9,12 +9,7 @@ fi
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 1.3.22
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://httpd.apache.org/dist/httpd/ \
|
||||
ftp://ftp.ccs.neu.edu/net/mirrors/ftp.apache.org/apache/dist/httpd/ \
|
||||
|
@ -9,12 +9,7 @@ fi
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 2.0.28
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.apache.org/dist/httpd/ \
|
||||
http://apache.mirrorcentral.com/dist/httpd/ \
|
||||
|
@ -1,20 +1,15 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache2/Attic/pkg-deinstall,v 1.3 2001-10-29 20:05:37 ache Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache2/Attic/pkg-deinstall,v 1.4 2001-12-07 23:12:32 ache Exp $
|
||||
#
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 2.0.28
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.apache.org/dist/httpd/ \
|
||||
http://apache.mirrorcentral.com/dist/httpd/ \
|
||||
|
@ -1,20 +1,15 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache20/Attic/pkg-deinstall,v 1.3 2001-10-29 20:05:37 ache Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache20/Attic/pkg-deinstall,v 1.4 2001-12-07 23:12:32 ache Exp $
|
||||
#
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 2.0.28
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.apache.org/dist/httpd/ \
|
||||
http://apache.mirrorcentral.com/dist/httpd/ \
|
||||
|
@ -1,20 +1,15 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache21/Attic/pkg-deinstall,v 1.3 2001-10-29 20:05:37 ache Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache21/Attic/pkg-deinstall,v 1.4 2001-12-07 23:12:32 ache Exp $
|
||||
#
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= apache
|
||||
PORTVERSION= 2.0.28
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= www ipv6
|
||||
MASTER_SITES= http://www.apache.org/dist/httpd/ \
|
||||
http://apache.mirrorcentral.com/dist/httpd/ \
|
||||
|
@ -1,20 +1,15 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache22/Attic/pkg-deinstall,v 1.3 2001-10-29 20:05:37 ache Exp $
|
||||
# $FreeBSD: /tmp/pcvs/ports/www/apache22/Attic/pkg-deinstall,v 1.4 2001-12-07 23:12:32 ache Exp $
|
||||
#
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
exit 0
|
||||
fi
|
||||
|
||||
USER=www
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
if pw userdel ${USER}; then
|
||||
echo "Delete user/group \"${USER}\"."
|
||||
else
|
||||
echo "Deleting user/group \"${USER}\" failed..."
|
||||
exit 1
|
||||
fi
|
||||
echo "To delete Apache user permanently, use 'pw userdel ${USER}'"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user