search for: setluid

Displaying 20 results from an estimated 39 matches for "setluid".

Did you mean: seteuid
2001 Feb 21
2
SCO 5.0.5 setluid patch
I downloaded openssh-2.5.1p1 as soon as it was on the ftp servers just to get the setluid patch. After compiling and installing on 5.0.5 I saw that the luid still wasn't being set correctly whether sshd was run from inetd or as a daemon from /etc/rc2.d/. I fiddled around and moved the setluid() stuff up higher in session.c and now luid is now being set correctly. I provided a regula...
2010 Nov 05
2
test request: SCO with setluid() (i686-pc-sco3.2v5.0.7, possibly others)
...1] where I moved each platform-specific piece into a portable-only file platform.c, which does not need to be kept in sync with OpenBSD. The changes did not (I hope!) change the semantics, but there's one change I'd like to make that doesn't fit into the new scheme: the code that calls setluid. The code in question dates back to at least 2001 and I suspect its current location is mere historical accident. Based on some cvs archaeology and looking at the survey[2] data, I believe this only affects SCO platforms, possibly limited to *-pc-sco3.2v*. If anyone is still in possesion of such...
2001 Feb 08
5
Daily snapshots...
All, How can I get at the daily snapshots? When I go to the website, www.openssh.com, and follow the Linux link to portable.html and then go to request the daily snapshot from http://bass.directhit.com/openssh_snap/, I get prompted for a user id and password. Needless to say, I ain't got. That's real useful. Use to be, I could get the snapshots from the ftp site. Then things
2002 Mar 12
2
sys/queue.h
...and libnsl before libc, # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog @@ -227,7 +222,6 @@ AC_DEFINE(USE_PIPES) AC_DEFINE(HAVE_SCO_PROTECTED_PW) AC_DEFINE(DISABLE_SHADOW) - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) AC_DEFINE(BROKEN_SAVED_UIDS) AC_CHECK_FUNCS(getluid setluid) MANTYPE=man @@ -242,7 +236,6 @@ AC_DEFINE(USE_PIPES) AC_DEFINE(HAVE_SCO_PROTECTED_PW) AC_DEFINE(DISABLE_SHADOW) - AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; @@ -327,7 +320,7 @@ netinet/in_systm.h paths.h poll.h pty.h \ rpc/types.h security/pa...
2002 Jun 25
3
BSD/OS with privsep
...mp; ~LOGIN_SETPATH; +#ifdef __bsdi__ + if (getpid() != getpgrp()) + flags &= ~LOGIN_SETLOGIN; +#endif + if (setusercontext(lc, pw, pw->pw_uid, flags) < 0) { perror("unable to set user context"); exit(1); } #else # if defined(HAVE_GETLUID) && defined(HAVE_SETLUID) /* Sets login uid for accounting */ if (getluid() == -1 && setluid(pw->pw_uid) == -1) error("setluid: %s", strerror(errno)); # endif /* defined(HAVE_GETLUID) && defined(HAVE_SETLUID) */
2001 Feb 20
1
_PATH_STDPATH and @bindir@
Sorry if this is stuff that's been talked about before. If it is, just ignore me. I'm curious to know why Portable OpenSSH doesn't include @bindir@ in the _PATH_STDPATH. This would save most installers of portable OpenSSH from having to --with-default-path=$PREFIX/bin in order to ensure that scp will work properly. This would also, I imagine, save quite a lot of hassle for
2001 Feb 22
11
Lets try this push again.. 2.5.1p2 bugs left.
...fled, and I can't replicate the bug. Nor have I seen anything remotely like it reported. 3) SCO.. Is it happy yet for compiling? =) Completed: 1) mdoc2man.pl .. Commited into contrib/ directory. In the semi-near future either we need a patch to configure.in to support it directly. 2) SCO setluid patch commited (Verify please). Anything else I'm missing for brokeness that was introduced between 2.3.0p1 and 2.5.1p1 that needs to be corrected? I'm expecting that 2.5.1p2 will stand for a long time. So speak up now. I want to put p2 to rest with the next week and half so we can cat...
2001 Mar 15
1
News from AIX
Hi, News from the "AIX is different than the rest of the world" department... AIX has something similar to setluid() on SCO, just that it uses text strings (similar to setenv()) and calls it "usrinfo". I've appended the man page below. Under normal conditions, well-behaved applications use ttyname(), logname() and getuid() get the relevant informations, but today I've come across one piece...
2001 Feb 12
3
add scp path to _PATH_STDPATH
what do you think about this patch to add the path to scp to _PATH_STDPATH? is there a better or cleaner way to do this? i'm hoping to ward off 'scp doesn't work' questions for the next release. i did *not* add this to a --with-default-path path, because if a user specifies that, they should control its value completely. Index: Makefile.in
2001 Feb 27
1
small cleanup patch
...------------ --- openssh_cvs/configure.in.old Mon Feb 26 18:47:57 2001 +++ openssh_cvs/configure.in Mon Feb 26 18:50:28 2001 @@ -257,7 +257,6 @@ AC_DEFINE(HAVE_SCO_PROTECTED_PW) AC_DEFINE(DISABLE_SHADOW) AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H) - AC_DEFINE(BROKEN_SAVED_UIDS) AC_CHECK_FUNCS(getluid setluid) ;; *-dec-osf*) --- openssh_cvs/pathnames.h.old Sat Feb 10 19:39:35 2001 +++ openssh_cvs/pathnames.h Mon Feb 26 19:08:19 2001 @@ -120,7 +120,9 @@ #ifndef _PATH_SFTP_SERVER #define _PATH_SFTP_SERVER "/usr/libexec/sftp-server" #endif +#ifndef _PATH_LS #define _PATH_LS "ls&quo...
2002 Apr 22
0
[Bug 224] New: configure.ac changes for crays
...Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: wendyp at cray.com --- configure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS -L/usr/local/lib&...
2002 Apr 22
0
[Bug 224] configure.ac changes for crays
...l Comments From wendyp at cray.com 2002-04-23 09:12 ------- sorry, slight error with that last patch. try this instead (with 22 april snapshot): --- configure.ac.orig Mon Apr 22 14:31:27 2002 +++ configure.ac Mon Apr 22 14:32:48 2002 @@ -236,12 +236,29 @@ AC_CHECK_FUNCS(getluid setluid) MANTYPE=man ;; +*-*-unicosmk*) + no_libsocket=1 + no_libnsl=1 + not_sco=1 + MANTYPE=cat + AC_DEFINE(USE_PIPES) + AC_DEFINE(LOGIN_NEEDS_UTMPX) + AC_DEFINE(USE_UTMP) + AC_DEFINE(USE_WTMP) + LDFLAGS="$LDFLAGS" + LIB...
2007 Sep 10
1
4.7p1 password auth broken on SCO OSR6
openssh 4.7p1 SCO OSR6 Password authentication is non-functional. This seems dependent on USE_LIBIAF which further depends on HAVE_LIBIAF (in defines.h), but there is no longer any code in configure to define the latter. Building with HAVE_LIBIAF defined enables password authentication, but only for non-long (<9 char) passwords, even though UNIXWARE_LONG_PASSWORDS seems to be defined. I
2003 Sep 05
2
3.6p1 bug on SCO OpenServer
...orig 2003-03-26 00:12:34.000000000 -0500 --- configure 2003-07-18 17:26:00.000000000 -0400 *************** *** 4588,4593 **** --- 4588,4597 ---- #define DISABLE_FD_PASSING 1 _ACEOF + cat >>confdefs.h <<\_ACEOF + #define WITH_ABBREV_NO_TTY 1 + _ACEOF + for ac_func in getluid setluid --8<-- cut here --8<-- -- Roger Cornelius rac at tenzing.org
2002 Dec 25
1
Trouble installing samba
...ng for grantpt... no > checking for dup2... no > checking for lseek64... no > checking for ftruncate64... no > checking for readdir64... no > checking for fseek64... no > checking for fseeko64... no > checking for ftell64... no > checking for ftello64... no > checking for setluid... no > checking for getpwanam... no > checking for setlinebuf... no > checking for srandom... no > checking for random... no > checking for srand... no > checking for rand... no > checking for setenv... no > checking for usleep... no > checking for strcasecmp... no >...
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...4... yes checking for fstat64... yes checking for lstat64... yes checking for fopen64... yes checking for atexit... yes checking for grantpt... yes checking for dup2... yes checking for lseek64... yes checking for ftruncate64... yes checking for fseek64... no checking for ftell64... no checking for setluid... no checking for yp_get_default_domain... yes checking for getpwanam... no checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for setenv... no checking for mmap64... yes checking for syscall... yes checking for _dup... yes checking f...
2001 Nov 07
1
Configuring 2.2.2 (or 2.0.7) on Digital Unix 4.0f fails - "No locking"
...n64... no checking for atexit... yes checking for grantpt... yes checking for dup2... yes checking for lseek64... no checking for ftruncate64... no checking for readdir64... no checking for fseek64... no checking for fseeko64... no checking for ftell64... no checking for ftello64... no checking for setluid... no checking for getpwanam... no checking for setlinebuf... yes checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for setenv... yes checking for usleep... yes checking for strcasecmp... yes checking for fcvt... yes checking for fcvt...
2002 Oct 21
1
compilation probs...
...open64... no checking for atexit... no checking for grantpt... no checking for dup2... no checking for lseek64... no checking for ftruncate64... no checking for readdir64... no checking for fseek64... no checking for fseeko64... no checking for ftell64... no checking for ftello64... no checking for setluid... no checking for getpwanam... no checking for setlinebuf... no checking for srandom... no checking for random... no checking for srand... no checking for rand... no checking for setenv... no checking for usleep... no checking for strcasecmp... no checking for fcvt... no checking for fcvtl... no c...
2002 Oct 29
1
Problem running ./configure
...open64... no checking for atexit... no checking for grantpt... no checking for dup2... no checking for lseek64... no checking for ftruncate64... no checking for readdir64... no checking for fseek64... no checking for fseeko64... no checking for ftell64... no checking for ftello64... no checking for setluid... no checking for getpwanam... no checking for setlinebuf... no checking for srandom... no checking for random... no checking for srand... no checking for rand... no checking for setenv... no checking for usleep... no checking for strcasecmp... no checking for fcvt... no checking for fcvtl... no c...
2003 Jun 02
2
./configure --with-pam fails allways
...up2 configure:5699: checking for lseek64 configure:5699: checking for ftruncate64 configure:5699: checking for readdir64 configure:5754: checking for fseek64 configure:5754: checking for fseeko64 configure:5754: checking for ftell64 configure:5754: checking for ftello64 configure:5754: checking for setluid configure:5754: checking for getpwanam configure:5754: checking for setlinebuf configure:5809: checking for srandom configure:5809: checking for random configure:5809: checking for srand configure:5809: checking for rand configure:5809: checking for setenv configure:5809: checking for usleep config...