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
439 stars 111 forks source link

Linux installation instructions don't work? #171

Closed jamesderlin closed 1 month ago

jamesderlin commented 7 years ago

I am using Debian 8.0 and tried to follow the installation instructions from the README.md with lshell 0.9.18:

$ sudo python setup.py install --no-compile --install-scripts=/usr/bin/
running install
running build
running build_py
running build_scripts
running install_lib
creating /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/shellcmd.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/variables.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/sec.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/utils.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/checkconfig.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/__init__.py -> /usr/local/lib/python2.7/dist-packages/lshell
copying build/lib.linux-x86_64-2.7/lshell/builtins.py -> /usr/local/lib/python2.7/dist-packages/lshell
running install_scripts
copying build/scripts-2.7/lshell -> /usr/bin
changing mode of /usr/bin/lshell to 755
running install_data
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/lshell-0.9.18.egg-info
$ lshell
Traceback (most recent call last):
  File "/usr/bin/lshell", line 25, in <module>
    from lshell.checkconfig import CheckConfig
ImportError: No module named lshell.checkconfig

I am using Python 2.7.9.

ghantoos commented 1 month ago

This project has been inactive for a while, and this issue has been open for a long time without activity. I'm closing it to keep the issue tracker clean.

If this issue is still relevant to you, please feel free to reopen it or create a new one. Appreciate your understanding and support!