search for: restricted_shel

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

Did you mean: restricted_shell
2003 Jan 29
0
[PATCH] features for restricted shell environments
...1:26:11 -0000 1.4 @@ -291,6 +293,31 @@ return 0; } +/* + * Is the user subject to this restriction? + */ +int +auth_restricted(int restriction, struct passwd *pw) +{ + debug2("user shell is %s", pw->pw_shell); + if ((options.restrictions & restriction) && + options.restricted_shell != NULL && + strcmp(options.restricted_shell, pw->pw_shell) == 0) { + debug("Restricted shell (%d)", restriction); + return 1; + } else if ((restriction & RESTRICT_AGENT) && no_agent_forwarding_flag) + return 1; + else if ((restriction & RESTRICT_ENV) &a...
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
2019 Jan 25
2
How to generate .bc file using configure && make on Mac OS X?
Hi, I use the following commands to compile a GNU package to .bc files on Linux. ./configure CC=clang RANLIB=llvm-ranlib CFLAGS=-flto LDFLAGS=-Wl\,-plugin-opt=save-temps\ -flto\ -fuse-ld=gold make But since it uses ld.gold, it won't work on Mac OS X. Is there something equivalent that works on Mac OS X? Thanks. -- Regards, Peng
2019 Jan 28
2
How to generate .bc file using configure && make on Mac OS X?
...t; | #define PACKAGE_TARNAME "bash" | #define PACKAGE_VERSION "5.0-release" | #define PACKAGE_STRING "bash 5.0-release" | #define PACKAGE_BUGREPORT "bug-bash at gnu.org" | #define PACKAGE_URL "" | #define ALIAS 1 | #define PUSHD_AND_POPD 1 | #define RESTRICTED_SHELL 1 | #define PROCESS_SUBSTITUTION 1 | #define PROMPT_STRING_DECODE 1 | #define SELECT_COMMAND 1 | #define HELP_BUILTIN 1 | #define ARRAY_VARS 1 | #define DPAREN_ARITHMETIC 1 | #define BRACE_EXPANSION 1 | #define COMMAND_TIMING 1 | #define EXTENDED_GLOB 1 | #define EXTGLOB_DEFAULT 0 | #define COND_C...