summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2018-05-17 22:52:01 +0200
committerUnicronNL <kim.sidney@gmail.com>2018-05-17 22:52:01 +0200
commit80ec9b746124ca540faeac332131a7833a08b14c (patch)
treeaf5eb4664e13097b4607b30ef31bee2fdbe7661b /debian
parent9535c4b1c1fb6613e2abacac38b7f3bbf80a9309 (diff)
downloadlibpam-radius-auth-80ec9b746124ca540faeac332131a7833a08b14c.tar.gz
libpam-radius-auth-80ec9b746124ca540faeac332131a7833a08b14c.zip
Do not include config file
Use vbash instead of bash Only change shell for priv user
Diffstat (limited to 'debian')
-rw-r--r--debian/radius-shell.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/radius-shell.postinst b/debian/radius-shell.postinst
index 55ebd22..6d7e941 100644
--- a/debian/radius-shell.postinst
+++ b/debian/radius-shell.postinst
@@ -9,12 +9,12 @@ case "$1" in
configure)
radshell=/sbin/radius_shell
chmod 750 $radshell
- chgrp radius_users $radshell
+ chgrp users $radshell
setcap cap_setuid+ep $radshell
# The users will have been created by the libnss-mapuser package
# and possibly by an older version, so change the shells here.
# This also prevents a loop in package install ordering dependencies
- for usr in radius_user radius_priv_user; do
+ for usr in radius_priv_user; do
uent="$(getent -s compat passwd $usr 2>/dev/null)" || true
[ -z "$uent" ] && continue
case "$uent" in