Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Not Starting #41

Open
aravindragu opened this issue May 15, 2023 · 10 comments
Open

Session Not Starting #41

aravindragu opened this issue May 15, 2023 · 10 comments

Comments

@aravindragu
Copy link

Post installation of Sudosh , when I try to start a new session to check if recoding is happening , server login is happening and in flash server session went off .

OS Details
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"

@aravindragu
Copy link
Author

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

uname :
Linux ip-10-6-2-59 5.4.0 #91~18.04.1-Ubuntu SMP Sun Aug 14 01:24:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

@aravindragu
Copy link
Author

Any Comments on the above issue ?

@squash
Copy link
Owner

squash commented May 17, 2023

When you say session not starting, what output are you actually getting?

Please include your sudosh.conf as well.

@squash
Copy link
Owner

squash commented May 17, 2023

I've just tested both the 1.0.7 release and current git head with a fresh install of ubuntu 18.04 and both work as expected, so there are some critical details missing.

@aravindragu
Copy link
Author

Putty Windows just started and got vanishing without any output .

sudosh.conf

Sudosh Configuration File

logdir = /var/log/sudosh
default shell = /bin/bash
delimiter = -
syslog.priority = LOG_INFO
syslog.facility = LOG_LOCAL2
clearenvironment = no

Allow Sudosh to execute -c arguments? If so, what?

-c arg allow = scp
-c arg allow = rsync

====================

apt-get install autotools-dev libtool automake gcc libtool-bin

apart from above dependencies do I need to install any other libraries ?

@squash
Copy link
Owner

squash commented May 18, 2023

Are you using sudosh as a login shell? if so, have you added it to /etc/shells and do you see anything in the system log?

Also if so, try using it normally aka with sudo: sudo -u root sudosh

No additional dependencies are required if it was able to build.

@aravindragu
Copy link
Author

/usr/local/bin/sudosh is already there in /etc/shells file , Also I have change the users login shell to /usr/local/bin/sudosh . Post changing shell session is not starting , It disappear like flash .

@aravindragu
Copy link
Author

Try doing fresh install , while running make command end up below error

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/tmp/sudosh2/sudosh2/missing' aclocal-1.16
/tmp/sudosh2/sudosh2/missing: line 81: aclocal-1.16: command not found
WARNING: 'aclocal-1.16' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
https://www.gnu.org/software/automake
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
https://www.gnu.org/software/autoconf
https://www.gnu.org/software/m4/
https://www.perl.org/
Makefile:386: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127

@aravindragu
Copy link
Author

Any comments on the above error ?

--
Aravindan R

@Chewbakka-Wakka
Copy link

May need to also apt-get install sysconftool m4.
On RPM I only need so far: ( but my build fails for other reasons: )
BuildRequires: m4
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants