ghantoos / lshell

lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH (e.g. SCP, SFTP, rsync, etc.), log user's commands, implement timing restriction, and more.
GNU General Public License v3.0
435 stars 112 forks source link

[PATCH]: Support for "source" in lshell for login_script #129

Open kamade opened 8 years ago

kamade commented 8 years ago

lshell does not have support for "source" like bash primitive. This is specially useful for login scripts that setup the lshell environment.

The attached patch(es) have been applied in our code base and is being shared Upstream

lshell_cgcs.patch.txt lshell-source-support.patch.txt

hostingnuggets commented 5 years ago

@kamade I saw your patches are made against lshell v0.9.16, do you also have the same patches for version 0.9.18 available and could share them on github too? Thanks!

@ghantoos I think this feature is quite important and should have a higher priority than just wishlist.

RandieM commented 5 years ago

Any updates on this? It would be great if the "source" command were supported in lshell.

LordFPL commented 5 years ago

+1 :)