Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: loejf on May 27, 2009, 01:41:29 PM
-
Hi.
I have installed the 'remote user access' module from dungog.
But when I change a users ftp root to ex. '/home/e-smith/files/ibays/example/files
It does not work, when the user log in using sftp, they end up in their own home folder ??
Loejf.
-
AFAIK remote user access contrib work only with ftp
anyway, open a bug in bugzilla
Ciao
Stefano
-
Hmmmm.
Thank you.
Do you know then, if it is possible to make the users home folders a symbolic link to the Ibay folder.
Since they are not going to do anything else on the server, but having access using sftp ??
Loejf
-
I had this Problem too. It´s an Error in the Pearl script. chroot your users to the Directory in server-manager. The FTP Users won´t be able to connect to server after that. Open /home/e-smith/db/accounts with vi or mcedit an search for your chrooted user. There is an string like |Shell|rssh|. Change "rssh" in "/usr/bin/rssh". Save and then make an signal-event post-upgrade and signal-event reboot. After reboot your User can log in to the chrooted Directory througt FTP.
An other Method is, you can change the Pearl script file. Open /etc/e-smith/web/functions/remoteuseraccess an go to line 332, change string rssh in /usr/bin/rssh an save.
Kind regards
-
I had this Problem too. It´s an Error in the Pearl script. chroot your users to the Directory in server-manager. The FTP Users won´t be able to connect to server after that. Open /home/e-smith/db/accounts with vi or mcedit an search for your chrooted user. There is an string like |Shell|rssh|. Change "rssh" in "/usr/bin/rssh". Save and then make an signal-event post-upgrade and signal-event reboot. After reboot your User can log in to the chrooted Directory througt FTP.
An other Method is, you can change the Pearl script file. Open /etc/e-smith/web/functions/remoteuseraccess an go to line 332, change string rssh in /usr/bin/rssh an save.
Kind regards
no, the best thing to do is open a bug reporting what you wrote above..
telling people to modify scripts manually is not a good idea.
please open a bug, thank you
Stefano
-
Hi. I will report it as a bug.
But Igi2003, will this then also work for secure ftp, or just ftp?
Loejf.
-
http://bugs.contribs.org/show_bug.cgi?id=5294
-
no, the best thing to do is open a bug reporting what you wrote above..
telling people to modify scripts manually is not a good idea.
please open a bug, thank you
Stefano
I don´t know how to use Bugzilla. It´s to complicated for me and to confusing.
-
I don´t know how to use Bugzilla. It´s to complicated for me and to confusing.
read here (http://wiki.contribs.org/Bugzilla_Help) and don't be scared ;-)
Ciao
Stefano
-
Well.
The development team has closed the bug, since it is not a bug, but a missing feature.
http://bugs.contribs.org/show_bug.cgi?id=5294
Loejf
-
Can you do what you're trying to do using DAV (http://wiki.contribs.org/DAV) instead of FTP?
-
Hi.
I don´t know much about DAV, but it seems to be some kind of http enabled access to ibays.
But what I need, is accounts connecting to sftp folders (encrypted) using scripts.
And why I want to chroot users is, that I want internal access to all the user folders from one single mapped root folder (ibay).
But maybe there is a better way to solve this.
Thank you. Loejf.