1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

change useradd méthode

This commit is contained in:
Développeur égaré 2015-02-17 16:31:53 +01:00
parent 6c5506ee20
commit f158650c68

View file

@ -65,7 +65,8 @@ sudo chmod 754 /etc/init.d/diaspora_ynh
sudo update-rc.d diaspora_ynh defaults
# create and config user
sudo adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --quiet --disabled-login --home $final_path diaspora
#sudo adduser --gecos "First Last,RoomNumber,WorkPhone,HomePhone" --quiet --disabled-login -d $final_path diaspora
sudo useradd -d $final_path diaspora
sudo chown -R diaspora:diaspora $final_path
sudo su diaspora
cd ~