Donate Share

sudosh

Code

Programming Languages: C, Perl

License: Open Software License 3.0 (OSL3.0)

Repositories

browse code, statistics, last commit on 2004-10-25 cvs -d:pserver:anonymous@sudosh.cvs.sourceforge.net:/cvsroot/sudosh login

cvs -z3 -d:pserver:anonymous@sudosh.cvs.sourceforge.net:/cvsroot/sudosh co -P modulename

Show:

What's happening?

  • Comment: empy lines in config file cause segfault on x86_64

    I am able to reproduce this.

    2008-10-27 20:41:49 UTC by nobody

  • Sudosh in .profile file

    Is there any way to put sudosh in .profile file to log all typed commands by a specified user ?.

    2008-08-27 23:33:52 UTC by nobody

  • Comment: open slave pty: Bad address open pty failed: Illegal seek

    I was able to get around this by configuring with env CFLAGS="-D_GNU_SOURCE" ./configure It appears that otherwise, gcc won't use the version of ptsname() that sudosh expects.

    2008-07-03 20:49:16 UTC by nobody

  • empy lines in config file cause segfault on x86_64

    On intel x86_65, if the config file contains lines consisting only of whitespace (tabs or spaces), sudosh segfaults. Attaching GDB shows the problem arising: (gdb) run Starting program: /usr/bin/sudosh -i Program received signal SIGSEGV, Segmentation fault. 0x00000000004030f0 in parse (o=0x60c520, file=0x7fff3375d080 "/etc/sudosh.conf") at parse.c:41 41 for (i = strlen(opt)

    2008-06-13 11:45:02 UTC by nobody

  • Enable logging within -c <arg> commands

    When sudosh is used with -c , it logs only the command that got run, not the session within. For example sudo sudosh -c su -l Logs only: su.

    2008-01-16 03:25:47 UTC by nobody

  • Comment: Bug in parse.c (1.8.2)

    This project was abandoned, I have revived it as sudosh2. http://sourceforge.net/projects/sudosh2/.

    2008-01-04 22:00:52 UTC by squash

  • user-id

    Hi! I have been using sudosh for a few monts now and it is working very well. But I recentely received a interesting request form another departement This is the request. Is it possble to modiffy the code in ordre to keep the loging features whith out changing to root. The user keeps id ID dose not switch to root but all actions are logged Thanks Daniel Asselin d.as.

    2007-12-27 14:02:22 UTC by nobody

  • Comment: open slave pty: Bad address open pty failed: Illegal seek

    my error is different open slave pty: Permission denied open pty failed: Illegal seek any ideas ? socket(PF_FILE, SOCK_DGRAM, 0) = 6 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 connect(6, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0 send(6, "Dec 9 16:08:00 sudosh: sta"..., 93, MSG_NOSIGNAL) = 93 close(6) = 0 ioctl(0...

    2007-12-09 19:08:23 UTC by nobody

  • Comment: Bug in parse.c (1.8.2)

    look like project is dead. lot of bug and feature request not answered.

    2007-09-12 17:51:03 UTC by lausser

  • fix problem with ptsname() on some linux systems

    fixes problem with invalid address for pty functions on some linux systems.

    2007-09-04 15:51:57 UTC by nobody

Our Numbers