-
ghantoos committed patchset 151 of module lshell to the Limited Shell CVS repository, changing 1 files.
2009-11-25 00:00:20 UTC in Limited Shell
-
ghantoos committed patchset 150 of module lshell to the Limited Shell CVS repository, changing 1 files.
2009-11-24 23:44:15 UTC in Limited Shell
-
ghantoos committed patchset 149 of module lshell to the Limited Shell CVS repository, changing 4 files.
2009-11-24 23:41:32 UTC in Limited Shell
-
Hi,
It is currently not possible to use "~" to refer to the user's home. However, you can use "cd" by itself, to go back to a user's home.
I will take care of this in the next version of lshell (that should be out very soon).
Thank you very much for reporting this issue.
Ignace M -ghantoos-.
2009-11-24 16:34:43 UTC in Limited Shell
-
> the solution above works great. I know it is knot within your project scope but something similar within lshell would be great.
Hopefully, I will try to work on this soon. But I'm not sure how successful this will be :)
Thanks to all of you for your suggestions and solutions! And thank you for using lshell and helping me improve it.
Ignace M -ghantoos-.
2009-11-23 22:13:47 UTC in Limited Shell
-
Hello,
Do your lshell users belong to the "lshell" group?
If they don't, they won't have the permission to write in your log directory (i.e. /var/log/lshell).
Tell me if this works out for you.
Regards,
Ignace M -ghantoos-.
2009-11-23 19:54:14 UTC in Limited Shell
-
> so what I did is have lshell in /etc/passwd as the shell.
> Then within sshd_config Subsystem sftp /bin/MySecureShell -c sftp-server as the sftp server.
> This allows some users to have both ssh/sftp access with restrictions.
> If I wanted an sftp only account then change passwd to /bin/MySecureShell and they will only have sftp access.
Thank you for this excellent tip!
2009-11-23 19:11:29 UTC in Limited Shell
-
> Since /home/%u doesn't exit I am assuming it didn't set any allowed paths therefore they are stuck in whatever you set their home directory to be in /etc/passwd. Just an assumption.
Actually, every user is allowed to go inside his home directory (the one specified in the "home_path" variable), and all the directories specified in the "path" variable.
If the specified "home_path" does not...
2009-11-23 09:45:28 UTC in Limited Shell
-
Hi Mmouterde,
Thank you for reporting this. You are absolutely right about this.
As you said, it looks like the ChrootDirectory parameter is applied to both SFTP and SSH connection, and therefore fails to find /usr/bin/lshell.
Which means that, using the above configuration, users using lshell cannot have their SFTP connections chrooted, unless your chroot directory contains all...
2009-11-22 17:32:57 UTC in Limited Shell
-
> Hi,
> Thanks for your reply.
> On a new server i did a new install (version 0.9.6):
> python setup.py install
> groupadd lshellg
> mkdir /var/log/lshell
> chown :lshellg /var/log/lshell
> chmod 770 /var/log/lshell
> and after adding a user:
> usermod -aG lshellg username
>
> The log is working, however, do you advise to change someting...
2009-11-21 23:15:44 UTC in Limited Shell