mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Create home directory during login (fixbug #80)
This commit is contained in:
parent
71a21d71d2
commit
2a6d7b7c4a
3 changed files with 10 additions and 0 deletions
6
debian/conf/pam/mkhomedir
vendored
Normal file
6
debian/conf/pam/mkhomedir
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Name: Create home directory during login
|
||||||
|
Default: yes
|
||||||
|
Priority: 900
|
||||||
|
Session-Type: Additional
|
||||||
|
Session:
|
||||||
|
required pam_mkhomedir.so umask=0022 skel=/etc/skel
|
1
debian/install
vendored
1
debian/install
vendored
|
@ -4,6 +4,7 @@ data/hooks/* /usr/share/yunohost/hooks/
|
||||||
data/other/* /usr/share/yunohost/yunohost-config/moulinette/
|
data/other/* /usr/share/yunohost/yunohost-config/moulinette/
|
||||||
data/templates/* /usr/share/yunohost/templates/
|
data/templates/* /usr/share/yunohost/templates/
|
||||||
data/apps/* /usr/share/yunohost/apps/
|
data/apps/* /usr/share/yunohost/apps/
|
||||||
|
debian/conf/pam/* /usr/share/pam-configs/
|
||||||
lib/metronome/modules/* /usr/lib/metronome/modules/
|
lib/metronome/modules/* /usr/lib/metronome/modules/
|
||||||
locales/* /usr/lib/moulinette/yunohost/locales/
|
locales/* /usr/lib/moulinette/yunohost/locales/
|
||||||
src/yunohost/*.py /usr/lib/moulinette/yunohost/
|
src/yunohost/*.py /usr/lib/moulinette/yunohost/
|
||||||
|
|
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -18,6 +18,9 @@ do_configure() {
|
||||||
&& service yunohost-firewall restart \
|
&& service yunohost-firewall restart \
|
||||||
|| echo "Firewall stopped"
|
|| echo "Firewall stopped"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# update PAM configs
|
||||||
|
pam-auth-update --package
|
||||||
}
|
}
|
||||||
|
|
||||||
# summary of how this script can be called:
|
# summary of how this script can be called:
|
||||||
|
|
Loading…
Add table
Reference in a new issue