search for: do_rc_fil

Displaying 4 results from an estimated 4 matches for "do_rc_fil".

Did you mean: do_rc_files
2008 Mar 20
1
ForceCommand and ~/.ssh/rc
Hi, As I understand the "ForceCommand" in the sshd_confing file is meant to ignore any command supplied by the client, but if user's home is shared by server and client machines over network (ex. NFS) then user can still put something else into ~/.ssh/rc file and overcome this limitation. Is it possible to disable execution of the ~/.ssh/rc file in such a case? Thaks, Mike
2005 May 12
0
[PATCH] Trusted IRIX Support
...if(child_get_env(env,"MAC") == NULL) + irix_set_mac("all="); + else + irix_set_mac(child_get_env(env,"MAC")); + } + #endif /* WITH_IRIX_MAC */ + if (!options.use_login) do_rc_files(s, shell); diff -r -C3 openssh-4.0p1/uidswap.c openssh-4.0p1.trix/uidswap.c *** openssh-4.0p1/uidswap.c Tue Feb 22 00:57:13 2005 --- openssh-4.0p1.trix/uidswap.c Thu May 12 12:05:00 2005 *************** *** 202,207 **** --- 203,216 ---- fatal("setuid %u: %.100s&qu...
2003 Jan 29
0
[PATCH] features for restricted shell environments
.../* * Run $HOME/.ssh/rc, /etc/ssh/sshrc, or xauth (whichever is found * first in this order). + * + * A properly-implemented restricted shell doesn't need the + * restriction tests, but they're useful for reducing the + * amount of noise in the process accounting logs. */ static void do_rc_files(Session *s, const char *shell) @@ -1111,11 +1113,12 @@ int do_xauth; struct stat st; - do_xauth = + do_xauth = !auth_restricted(RESTRICT_X11, s->pw) && s->display != NULL && s->auth_proto != NULL && s->auth_data != NULL; /* ignore _PATH_SSH_USER...
2004 Jan 19
3
Security suggestion concering SSH and port forwarding.
Hi, sorry if it is the wrong approuch to suggest improvments to OpenSSH, but here comes my suggestion: I recently stumbled upon the scponly shell which in it's chroot:ed form is an ideal solution when you want to share some files with people you trust more or less. The problem is, if you use the scponlyc as shell, port forwarding is still allowed. This can of course be dissallowed in