View Full Version : Problem editing /etc/passwd
rispa
18th December 2007, 16:46
Hi , i created a user through ispconfig ,and i want to change the users default home directory. Every time i change it in the passwd file it changes itself back.I understand that this is some script running in the ispconfig.
Can anyone tell me how to correct this or any other way of changing the default dir of a user without encountering this problem.
Thanks.
till
18th December 2007, 18:10
You can not change the home directory of a user created with ISPConfig manually.
rispa
18th December 2007, 18:45
Thanks for the quick replay.Is there any other method or way to change the default directory of a user? I want the user to login with filezilla in a specific directory to upload images.
Thanks.
jbravo
19th December 2007, 10:59
Thanks for the quick replay.Is there any other method or way to change the default directory of a user? I want the user to login with filezilla in a specific directory to upload images.
Thanks.
You mean via ftp? If using ProFTPD then change in /etc/proftpd.conf:
DefaultRoot ~/wanted_directory
But this is only user subdirectory and also systemwide setting. I do not know if anyone is able to setup this for particular accounts.
--
GreetZ .:JbRaVo:.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.