blob: a956d6502447cc6cf5b34e7bdeafd0c2261caf60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
set -e
uid=$(id -u "$PAM_USER")
if [ "$uid" -ge 1000 ]; then
install -m 0755 -d /usr/local/home
install -o "$uid" -g "$uid" -m 0700 -d "/usr/local/home/${PAM_USER}"
fi
|