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:
parent
6c5506ee20
commit
f158650c68
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ sudo chmod 754 /etc/init.d/diaspora_ynh
|
||||||
sudo update-rc.d diaspora_ynh defaults
|
sudo update-rc.d diaspora_ynh defaults
|
||||||
|
|
||||||
# create and config user
|
# 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 chown -R diaspora:diaspora $final_path
|
||||||
sudo su diaspora
|
sudo su diaspora
|
||||||
cd ~
|
cd ~
|
||||||
|
|
Loading…
Reference in a new issue