search for: forceshell

Displaying 6 results from an estimated 6 matches for "forceshell".

2013 Jan 14
2
[Bug 2062] New: Add support for a ForceShell sshd option
https://bugzilla.mindrot.org/show_bug.cgi?id=2062 Bug ID: 2062 Summary: Add support for a ForceShell sshd option Classification: Unclassified Product: Portable OpenSSH Version: -current Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: sshd Assignee: unassigned-bugs...
2001 Oct 04
1
patch - forceshell
...se if there was a root= auth parameter which caused a chroot, this could perform a similar task. Has someone already written that code? Attached also is a simple chrooted shell perl script. -Don Mahurin -------------- next part -------------- diff -ur openssh-2.9p2/auth-options.c openssh-2.9p2_forceshell/auth-options.c --- openssh-2.9p2/auth-options.c Sun Mar 18 16:13:47 2001 +++ openssh-2.9p2_forceshell/auth-options.c Wed Oct 3 09:57:24 2001 @@ -29,6 +29,8 @@ /* "command=" option. */ char *forced_command = NULL; +/* "shell=" option. */ +char *forced_shell = NULL; /* &qu...
2015 Jan 21
4
way to set shell used for remote commands?
...ell to use to > > execute commands on a host. > > Using dash as an example of another shell: > > ssh 127.0.0.1 -t dash > > and > > ssh 127.0.0.1 dash -c env > > appear to do the expected for me. > Two years ago, I opened a bug to add support for a ForceShell option to sshd that would provide the ability to override users shells. There doesn't seem to have been much interest in it, and I never received any feedback. I haven't updated the patch since the original submission, and it may need some further work, but it might be worth a try. I don...
2012 Dec 17
2
How to control which command is executed with "plain ssh" from remote machine?
Hi! Is it possible to override in OpenSSH so that the shell specified in the /etc/passwd (or what comes from the LDAP server) is not executed at login? We have na?vely tried to specify this with subsystem but found out that by default the ssh client does not specify any subsystem. So how to override something that is unset from the client? /John -- John Olsson Ericsson AB BSC/BSS System
2012 Jun 01
2
ssh & control groups
Hi List, I am looking for an option for sshd to start user's shell (when logging in interactively to a remote host) in a control group via cgexec - so for example: /bin/cgexec -g <username> /bin/bash This would be extremely handy on linux Terminal servers to control users access to the system resources (protect system from a malicious user hogging the machine by running cpu/memory
2015 Jan 21
4
way to set shell used for remote commands?
Good day - Please can OpenSSH provide some way of specifying which shell to use to execute commands on a host. For the account I need to use, the user's password shell is not acceptable, (a ten year old version of bash 3.0) and cannot be changed without weeks or months of burocracy , if at all. I built & installed the latest bash under that account, in the ~/bin directory, but SSH will