stumbleupon toolbar
Make payments with PayPal - it's fast, free and secure!
This site is up for
Count
Get Firefox!
Last Shout - Posted by: dingetje - Wednesday, 25 April 2012 13:17
http://freesco.sourceforge.net/

  Reply to this topicStart new topicStart Poll

> Create a user and home share
ly9cs
  Posted: Nov 12 2009, 07:55 PM
Quote Post


Member
**

Group: Members
Posts: 10
Member No.: 260
Joined: 23-April 05



Hello
I have a tiny question.

I have done this before but I can not seem to rember it.

If I create a user in the controlpanel, homeshare and all
What command do I need to run to allow this user to create folders on its own homeshare on ftp.

When connecting to the user I just did I can not send files, via ftp, to the pub_html

This would be http:\\freescobox_ip\~username

Command me Dark Lord!



PMEmail Poster
Top
dingetje
  Posted: Nov 13 2009, 03:22 PM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



What version of FREESCO? And are you running with the stock ftp server of FREESCO?


--------------------
PMEmail PosterUsers WebsiteICQ
Top
dingetje
Posted: Nov 13 2009, 03:34 PM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



I've just tried with FREESCO 037 and then there's no problem to create directories in the pub_html folder via FTP (I've used FileZilla as FTP client) of a 'normal' user created via the web control panel.

Command that may correct the problem (as root in a console or SSH session):

CODE

chown -R username.users /home/username


where username is the username of the account you've added.


--------------------
PMEmail PosterUsers WebsiteICQ
Top
ly9cs
Posted: Nov 14 2009, 02:14 PM
Quote Post


Member
**

Group: Members
Posts: 10
Member No.: 260
Joined: 23-April 05



v 0.4.0

Attached File ( Number of downloads: 2396 )
Attached File  report.txt
PMEmail Poster
Top
dingetje
  Posted: Nov 17 2009, 11:31 PM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



Did you try looking at the owner of the user's pub_html directory?
You can do that with the next command:
CODE

ls -la /home/username


The pub_html folder should be owned by username.users

I did try adding a user with the 040 control panel, and the user was added, but the directory wasn't owned by the user. To be honest I'm not 100% sure because my vmware machine did not report back after creating the user, so YMMV.

Also did you try my suggestion I posted earlier to change the owner of the directory?

Another suggestion is to upgrade to a later version because 0.4.0 was the first 0.4.x version and 0.4.2 may be better.


--------------------
PMEmail PosterUsers WebsiteICQ
Top
dingetje
Posted: Nov 20 2009, 01:55 AM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



I think there's maybe a problem with adding a user via the web control panel.
When I added a user via the command line (command to use is useradd and then reply to the prompts) all went well. Did you try that?


--------------------
PMEmail PosterUsers WebsiteICQ
Top
dingetje
Posted: Nov 21 2009, 10:56 AM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



I've asked Lightning about this issue and he has confirmed it to be a bug. This is due to the SSH key generation for a new user that requires tty input for the random generator.

I'm sure this will get fixed in the next 0.4.x release ASAP!

In the mean time use the command line (via console or SSH session) to add new users.

Thanks for reporting!
goodjob.gif


--------------------
PMEmail PosterUsers WebsiteICQ
Top
dingetje
Posted: Nov 24 2009, 07:53 AM
Quote Post


Administrator
*****

Group: Admin
Posts: 713
Member No.: 1
Joined: 24-August 02



A patch for 0.4.2 has been released to fix this problem.


--------------------
PMEmail PosterUsers WebsiteICQ
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.5532 ]   [ 11 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.12 ]


FREESCO WebRing
The FREESCO Router WebRing
[ Join Now | Ring Hub | Random | << Prev | Next >> ]

Nedstat Basic - Gratis web site statistieken
Eigen homepage website teller


MKPortal ©2003-2006 mkportal.it
Page generated in 0.3538 seconds with 13 queries