Use chsh(1) at @exec-add / @unexec-delete time to set the correct shell

for the uucp user.

idea from miod@
ok jasper@ sthen@
This commit is contained in:
ajacoutot 2013-02-09 15:17:46 +00:00
parent f5a323c546
commit 9949e8d7c4
2 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2010/10/18 21:50:39 sthen Exp $
# $OpenBSD: Makefile,v 1.20 2013/02/09 15:17:46 ajacoutot Exp $
COMMENT= UUCP suite
DISTNAME= uucp-1.07
REVISION= 1
REVISION= 2
CATEGORIES= net mail
PERMIT_PACKAGE_CDROM= Yes

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.5 2005/11/01 14:43:45 naddy Exp $
@comment $OpenBSD: PLIST,v 1.6 2013/02/09 15:17:46 ajacoutot Exp $
bin/cu
@owner uucp
@mode 4555
@ -53,3 +53,5 @@ share/examples/uucp/passwd
share/examples/uucp/port
share/examples/uucp/sys1
share/examples/uucp/sys2
@exec-add /usr/bin/chsh -s %D/libexec/uucp/uucico uucp
@unexec-delete /usr/bin/chsh -s /sbin/nologin uucp