Displaying 20 results from an estimated 136 matches for "getusershel".
Did you mean:
getusershell
2001 Mar 18
2
char *getusershell();
...em compiling openssh_cvs with IRIX 6.5.11f.
% cc -version
MIPSpro Compilers: Version 7.3.1.2m
% cc -n32 -mips3 -O2 -OPT:Olimit=0 ..... -c auth.c
cc-1515 cc: ERROR File = auth.c, Line = 100
A value of type "int" cannot be assigned to an entity of type "char *".
while ((cp = getusershell()) != NULL)
^
1 error detected in the compilation of "auth.c".
*** openssh_cvs/auth.c- Sun Mar 18 12:52:30 2001
--- openssh_cvs/auth.c Sun Mar 18 13:32:20 2001
***************
*** 57,63 ****
allowed_user(struct passwd * pw)
{
struct stat st;
! char *shell, *c...
2003 Jun 06
2
getusershell()
I was wondering if there is any chance of getusershell() functionality ever
making it into the official OpenSSH distribution. From searching the list
archives, it looks like a patch to add this support in openbsd-compat was
created by Damien Miller on 2001-03-18, but never seemed to be tested or
applied. I think this functionality would be very...
2001 Jun 07
0
Patch for systems with no setreuid()
...nfigure.orig Thu Jun 7 14:12:53 2001
+++ configure Thu Jun 7 14:13:40 2001
@@ -3184,7 +3184,7 @@
fi
-for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysc...
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...01/05/22 11:59:54
@@ -460,7 +460,7 @@ AC_ARG_WITH(tcp-wrappers,
)
dnl Checks for library functions.
-AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysc...
2004 Aug 17
3
sftp with a user defined shell
...hell is left behind running
myuser1 7015 0.1 0.1 1680 1256 ? S 12:38:03 0:00 /bin/csh
/bin/my_sh -c /opt/openssh/libexec/sftp
As my_sh needs a tty and because of a bug in that, it runs in a while
loop and takes up lot of cpu.
If only sftp supports only the shells returned from "getusershell"
function, sftp would be consistent with ftp and my problem will be solved.
Do we have any patch for this?
I appreciate any thoughts, comments and help to solve my problem.
Thanks
Srini
2001 Feb 20
2
openssh wish list for 2.6.*
Hi,
something that I'd like to see for the next major release is "build
OpenSSH without installing zlib and openssl".
That is, I have a source tree with the following subdirectories:
.../src/zlib-1.1.3/
/openssl-0.9.6/
/openssh_cvs/
and want "configure", run from openssh_cvs, to be able to find the zlib
and openssl trees in the directory
2008 Sep 30
5
Corrupted transaction log file / record size too small
...server_name, strerror(errno), u, rh);
return(7);
}
/*-----------------------------------------------------------------------*/
int valid_shell(char *s)
/*
* return 1 if s represents a valid login shell, or 0 otherwise
*
* for our purposes, "valid" means anything returned by getusershell(3),
* or NEWSHELL as a special case
*/
{
char *next_shell;
/** a NULL pointer can't be a valid shell: **/
if (! s) return(0);
/** NEWSHELL is always valid: **/
if (strcmp(s, NEWSHELL) == 0) return(1);
/** okay, we have to consult /etc/shells: **/
while (...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...reeaddrinfo... no
checking for futimes... no
checking for gai_strerror... no
checking for getcwd... yes
checking for getaddrinfo... no
checking for getgrouplist... no
checking for getnameinfo... no
checking for getrlimit... yes
checking for getrusage... yes
checking for getttyent... no
checking for getusershell... yes
checking for glob... yes
checking for inet_aton... no
checking for inet_ntoa... yes
checking for inet_ntop... no
checking for innetgr... yes
checking for login_getcapbool... no
checking for md5_crypt... no
checking for memmove... yes
checking for mkdtemp... no
checking for on_exit... no
che...
2004 Jul 08
8
Root users shell == no existant shell /bin/bash
I made a mistake setting my shell and have set the root users shell to
/bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this.
The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su.
2004 Feb 26
3
Environment Poisoning and login -p
...; * Return TRUE if the shell is a "standard" shell.
> * (That is, one listed in /etc/shells.)
> */
> static int
> chshell(const char *sh)
> {
> int r;
> const char *cp;
>
> r = 0;
> setusershell();
> while ((cp = getusershell()) != NULL && !r)
> r = (strcmp(cp, sh) == 0);
> endusershell();
> return (r);
2001 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
...reeaddrinfo... no
checking for futimes... no
checking for gai_strerror... no
checking for getcwd... yes
checking for getaddrinfo... no
checking for getgrouplist... no
checking for getnameinfo... no
checking for getrlimit... yes
checking for getrusage... yes
checking for getttyent... no
checking for getusershell... yes
checking for glob... yes
checking for inet_aton... no
checking for inet_ntoa... yes
checking for inet_ntop... no
checking for innetgr... yes
checking for login_getcapbool... no
checking for md5_crypt... no
checking for memmove... yes
checking for mkdtemp... no
checking for on_exit... no
che...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...eclared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... yes
checking whether setusershell is declared without a macro... yes
checking whether endusershell is declared without a macro... yes
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether...