{ "info": { "author": "zhailibao", "author_email": "zhailibao2013@aliyun.com", "bugtrack_url": null, "classifiers": [], "description": "Introduction\n============\nsudosh-replay is a web replay of sudosh. web is base on flask,It is microframework \nfor python . sudosh is an auditing shell filter and can be used as a login shell. \nSudosh records all keystrokes and output and can play \nback the session as just like a VCR. for more infomation of sudosh ,please see \nhttp://sourceforge.net/projects/sudosh2/?source=navbar. The web replay is inspired by\nTermRecord ,https://github.com/theonewolf/TermRecord\n\n\nRunning Tests\n=============\n Install and config sudosh2.\n1.down load suosh2 from http://sourceforge.net/projects/sudosh2/\n2.make;install\n3.vim /etc/sudosh.conf\n # Sudosh Configuration File\n logdir = /var/log/sudosh\n default shell = /bin/sh\n delimiter = -\n syslog.priority = LOG_INFO\n syslog.facility = LOG_LOCAL2\n clearenvironment = no\n\n # Allow Sudosh to execute -c arguments? If so, what?\n -c arg allow = scp\n -c arg allow = rsync\n4.modify user login shell \n vim /etc/password\n root:x:0:0:root:/root:/usr/local/bin/sudosh\n5.vim /etc/shells\n /bin/sh\n /bin/bash\n /sbin/nologin\n /bin/dash\n /bin/tcsh\n /bin/csh\n /usr/local/bin/sudosh\n6. vim /etc/default/useradd\n # useradd defaults file\n GROUP=100\n HOME=/home\n INACTIVE=-1\n EXPIRE=\n #SHELL=/bin/bash\n SHELL=/usr/local/bin/sudosh\n SKEL=/etc/skel\n CREATE_MAIL_SPOOL=yes\n-----------------------------------------------------\n install sudosh-replay\n1.install virtualenv,pip install virtualenv\n2.mkdir sudosh-replay\n3./usr/local/python/bin/envirtualenv env;. env/bin/activate\n4.wget https://pypi.python.org/packages/source/p/pbr/pbr-0.8.2.tar.gz --no-check-certificate\n5.wget https://pypi.python.org/packages/source/s/sqlalchemy-migrate/sqlalchemy-migrate-0.9.1.tar.gz#md5=5f0237ed55041b9a831d4d18d0a46f53 --no-check-certificate\n6.pip install -r requirements.txt\n7.pip install sudosh-replay,or python setup.py install\n7.run application: sudosh_replay.py\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "sudosh-replay", "package_url": "https://pypi.org/project/sudosh-replay/", "platform": "any", "project_url": "https://pypi.org/project/sudosh-replay/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/sudosh-replay/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "sudosh web replay", "version": "0.0.2" }, "last_serial": 1117323, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a47a3fbc957439993717cc4e16e64afb", "sha256": "d9c3c0bd46dc6473a2c3fb184e44b65642e5d684f91afd3ac0d3d772932ea0f2" }, "downloads": -1, "filename": "sudosh-replay-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a47a3fbc957439993717cc4e16e64afb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2059, "upload_time": "2014-06-05T15:18:33", "url": "https://files.pythonhosted.org/packages/c7/e9/7fd25a7f84568e786b0faf91d218f36598e3943948e8e0957c7fef241a0a/sudosh-replay-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0e1e13b1e4be01b5536ad973f0a190af", "sha256": "75339436f643f7ea97c592a2c1e85a7ef49a06cf36e1ea8645a2f4d863ec0a15" }, "downloads": -1, "filename": "sudosh-replay-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0e1e13b1e4be01b5536ad973f0a190af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4495031, "upload_time": "2014-06-07T05:47:57", "url": "https://files.pythonhosted.org/packages/6a/ca/ae45d085add8fb804d411b6d04c43bd9bb8bd8f95ddc5dfff99c4012d771/sudosh-replay-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0e1e13b1e4be01b5536ad973f0a190af", "sha256": "75339436f643f7ea97c592a2c1e85a7ef49a06cf36e1ea8645a2f4d863ec0a15" }, "downloads": -1, "filename": "sudosh-replay-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0e1e13b1e4be01b5536ad973f0a190af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4495031, "upload_time": "2014-06-07T05:47:57", "url": "https://files.pythonhosted.org/packages/6a/ca/ae45d085add8fb804d411b6d04c43bd9bb8bd8f95ddc5dfff99c4012d771/sudosh-replay-0.0.2.tar.gz" } ] }