diff options
| author | Christian Rößler | 2014-05-06 14:40:58 +0200 |
|---|---|---|
| committer | Christian Rößler | 2014-05-06 14:40:58 +0200 |
| commit | 9ca20fb8c0da2571f1c4ae878deaf80ffffffa6a (patch) | |
| tree | 36224ecb1e98eaf0612e4f5e759eeb52e5835b60 /remote/modules/pam/data | |
| parent | [xorg] Make iptables rule executable (diff) | |
| download | tm-scripts-9ca20fb8c0da2571f1c4ae878deaf80ffffffa6a.tar.gz tm-scripts-9ca20fb8c0da2571f1c4ae878deaf80ffffffa6a.tar.xz tm-scripts-9ca20fb8c0da2571f1c4ae878deaf80ffffffa6a.zip | |
[vbox] add PAM user to vboxusers group on session open (little corr.)
Diffstat (limited to 'remote/modules/pam/data')
| -rwxr-xr-x | remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open index d3cc4077..f272fba1 100755 --- a/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open +++ b/remote/modules/pam/data/opt/openslx/scripts/pam_script_ses_open @@ -14,7 +14,7 @@ if [ "x$PAM_SERVICE" != "xsu" -a "x$PAM_SERVICE" != "xsudo" ]; then fi # add user to vboxusers group, if it exists -if id -g vboxusers; then +if getent group vboxusers; then addgroup "$PAM_USER" vboxusers fi |
