Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2006, 07:28
Novacom Novacom is offline
Junior Member
 
Join Date: Oct 2006
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
Default Adding manually an FTP user for a specific folder

Hi !

Is it possible to add a specific user allowed to read/write by FTP in a specific folder inside ISPConfig ? I know it cannot be done with the current version and the control panel, but can I modify directly my /etc/passwd to add the user, then let him access by proftpd ?

I host several small website (without domains for them, only subfolders on my domains), I just want to permit access to them to the end user...

Thanks !
Reply With Quote
Sponsored Links
  #2  
Old 11th December 2006, 10:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

You can add the user manuall to /etc/passwd and /etc/shadow, then bloch the username in ISPConfig by adding it to the file /home/admispconfig/ispconfig/users
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th January 2007, 07:24
Novacom Novacom is offline
Junior Member
 
Join Date: Oct 2006
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
Default Adding a user for specific FTP folder.

Hi Till,

Sorry for the delay, I managed to get the user working now.

Following your directions, from a root prompt :

1. adduser webx_specificuser
2. gave real name and password
3. edited /etc/passwd to change the :/home/webx_specificuser to reflect my correct path (ie : /var/www/webx/web/myspecificfolder/)
4. edited /etc/shadow, but i guess no changes were made here.
5. added webx_specificuser to the end of /home/admispconfig/ispconfig/users
6. chown -R webx_specificuser:www-data /var/www/webx/web/myspecificfolder
7. Bingo, I have correct access to a folder inside a domain for a user.


The only thing I wonder is why put the new user at the end of /home/admispconfig/ispconfig/users ?

Thanks !

Francis

Last edited by Novacom; 11th January 2007 at 02:14.
Reply With Quote
The Following User Says Thank You to Novacom For This Useful Post:
kokez (28th July 2008)
  #4  
Old 4th January 2007, 11:59
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

If you add a user with a userid in the range of ISPConfig, you will get user conflicts that may corrupt your system.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 11th January 2007, 02:15
Novacom Novacom is offline
Junior Member
 
Join Date: Oct 2006
Posts: 20
Thanks: 1
Thanked 1 Time in 1 Post
Default Finalised. Everything is fine

Thank you Till,

I corrected my initial post to reflect the correct steps.

Francis
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Creating image with Systemimager cuongtim HOWTO-Related Questions 3 18th November 2006 13:55
FTP Error joshabts Installation/Configuration 3 4th November 2006 16:19
adding folder for ftp access reddog Installation/Configuration 4 7th June 2006 21:16
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 23:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.