This script is for Slackware 14.2 only and may be outdated.

SlackBuilds Repository

14.2 > System > sudosh2 (1.0.4)

sudosh is a filter and can be used as a login shell.  sudosh takes advantage
of pty devices in order to sit between the user's keyboard and a program, in
this case a shell.

sudosh was designed specifically to be used in conjunction with sudo or by
itself as a login shell.. sudosh allows the execution of a root shell with
logging. Every command the user types within the root shell is logged as
well as the output.

How is this different than "sudo -s" or "sudo /bin/sh" ?

Using "sudo -s" or other methods doesn't log commands typed to syslog.
Generally the commands are logged to a file such as .sh_history and if you
use a shell such as csh that doesn't support command-line logging you're
out of luck.

sudosh fills this gap. No matter what shell you use, all of the command
lines are logged to syslog (including vi keystrokes.)

See README in /usr/doc/sudosh2-<version> for configuration and usage.

Maintained by: Sean Donner
Keywords: audit,shell,log
ChangeLog: sudosh2

Homepage:
https://github.com/squash/sudosh2

Source Downloads:
sudosh2-1.0.4.tgz (28c0b6cfd60299a6c339cf9b07f2367f)

Download SlackBuild:
sudosh2.tar.gz
sudosh2.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2024 SlackBuilds.org Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds