search for: setresgid

Displaying 20 results from an estimated 89 matches for "setresgid".

2003 Sep 17
8
[Bug 645] Configure mis-identifies setresgid
http://bugzilla.mindrot.org/show_bug.cgi?id=645 Summary: Configure mis-identifies setresgid Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-bugs at mindrot.org ReportedBy: tigerwo...
2003 Oct 27
8
[Bug 645] Configure mis-identifies setresgid
http://bugzilla.mindrot.org/show_bug.cgi?id=645 ------- Additional Comments From dtucker at zip.com.au 2003-10-27 13:43 ------- Created an attachment (id=487) --> (http://bugzilla.mindrot.org/attachment.cgi?id=487&action=view) Test setresuid and setresguid for "not implemented" Please try this patch. You will need to run "autoreconf" after applying, then
2002 Feb 22
0
Trouble with Samba 2.2.2 under HPUX (high cpu utilization)
...out the winbind checks from my smbd and recompile, but I want to see if there is another way. David Anderson danderso@amdocs.com PS - Here is the output from tusc getgid() ................................................. = 0 (0) setgroups(1, 0x400f1f20) ................................. = 0 setresgid(-1, 1010, -1) .................................. = 0 getgid() ................................................. = 0 (1010) setresuid(-1, 104, -1) ................................... = 0 getuid() ................................................. = 0 (104) lseek64(40, 207011840, SEEK_SET) ..............
2001 Jun 07
0
Patch for systems with no setreuid()
...addrinfo 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 sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop +for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcw...
2010 Nov 10
2
Problem with dovecot delivery (version 2.0.7)
...ipe[50019]: A20EB145FC2C: to=, relay=dovecot, delay=819, delays=819/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure) And here is the log from dovecot complaining it can't complete the operation /var/log/dovecot-deliver.log: Nov 09 23:35:51 lda(EMAIL REMOVED FOR PRIVACY): Fatal: setresgid(6(mail),6(mail),6(mail)) failed with euid=143(dovecot): Operation not permitted If anyone could help me, it would be much appreciated! Thanks!
2008 Nov 21
0
FW: Closing sessions and smbstatus
...> seem to usually get... > > select(32, [5 23 31], [], NULL, {43, 450000}) = 0 (Timeout) > gettimeofday({1224652458, 61107}, NULL) = 0 > geteuid() = 0 > getegid() = 0 > setgroups(0, []) = 0 > setresgid(4294967295, 0, 4294967295) = 0 > getegid() = 0 > setresuid(0, 0, 4294967295) = 0 > geteuid() = 0 > write(23, "\205\0\0\0", 4) = 4 > gettimeofday({1224652458, 61549}, NULL) = 0 > geteu...
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
...setresuid seems to work) - AC_TRY_RUN([ -#include <stdlib.h> -#include <errno.h> -int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} - ], - [AC_MSG_RESULT(yes)], - [AC_DEFINE(BROKEN_SETRESUID) - AC_MSG_RESULT(not implemented)] - ) -]) - -AC_CHECK_FUNCS(setresgid, [ - dnl Some platorms have setresgid that isn't implemented, test for this - AC_MSG_CHECKING(if setresgid seems to work) - AC_TRY_RUN([ -#include <stdlib.h> -#include <errno.h> -int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} - ], - [AC_MSG_RESULT...
2016 Apr 03
3
1 last error
...created on my own but I can?t figure out how to fix it? Here is the error that I?m getting: Apr 3 04:29:37 ip-172-31-24-2 postfix/qmgr[20458]: EFE01423E2: from=<me at spike.net>, size=359, nrcpt=1 (queue active) Apr 3 04:29:37 ip-172-31-24-2 dovecot: lda(beth at primelashdiva.info): Fatal: setresgid(89(postfix),89(postfix),97(dovecot)) failed with euid=97(dovecot): Operation not permitted Apr 3 04:29:37 ip-172-31-24-2 postfix/pipe[20745]: EFE01423E2: to=<beth at primelashdiva.info>, relay=dovecot, delay=22, delays=22/0.01/0/0.01, dsn=4.3.0, status=deferred (temporary failure) So I figu...
2012 Jan 10
2
Quota-warning and setresgid
...r:/home/vmail/domain.eu/tester/:INDEX=/var/mail/vmail/domain.eu/tester at domain.eu/index/public Jan 10 10:15:06 lda: Debug: Added userdb setting: plugin/quota_rule=*:storage=2097 Jan 10 10:15:06 lda: Debug: Added userdb setting: plugin/acl_groups= Jan 10 10:15:06 lda(tester at domain.eu): Fatal: setresgid(12(mail),12(mail),101(vmail)) failed with euid=101(vmail): Operation not permitted Jan 10 10:15:06 master: Error: service(quota-warning): child 85974 returned error 75 dovecot -n # 2.0.16: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.2-RELEASE-p3 amd64 auth_master_user_separator = * aut...
2008 Oct 20
2
Closing sessions and smbstatus
Hi, When are client sessions closed? Let me explain what I'm trying to do... we're in a School district and we try to stop kids logging more than once. They way I did this before was to dump the active sessions from our previous Server2003 fileserver into a file once a minute and process it with a Perl script to check who was connected from where, rebooting machines remotely as
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...addrinfo 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 sysconf tcgetpgrp utimes vsnprintf vhangup vis waitpid _getpty __b64_ntop) +AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getc...
2003 Aug 14
1
setres[gu]id implicit decl warning on Linux glibc
Hi, With recent snapshots, I noted a warning in compilation on Red Hat Linux 7.3 system with glibc 2.2.5: uidswap.c: In function `permanently_set_uid': uidswap.c:155: warning: implicit declaration of function `setresgid' uidswap.c:168: warning: implicit declaration of function `setresuid' The problem appears to be that these should be prototyped in unistd.h, but aren't. There are no prototype for these anywhere at all. The man page gives a hint that this is a long-standing bug/feature. On the other h...
2003 Oct 22
1
sshd 3.7.1p1 and 3.7.1p2 on 2.0.39 linux kernel crashes
since 3.7.1 sshd from openssh refuses to run on Linux 2.0.X kernels. debug log output shows the following: localhost sshd[182]: fatal: setresgid 105: Function not implemented an examination of the linux programmers man pages reveals that this function was not implemented until kernel 2.1.44 and is thus not available to 2.0.X systems. there were no compile problems probably due to the glibc/linux header weirdness, and the rest of the pack...
1999 Oct 05
0
Solution to accessing shares w/ 2.0.5a and openBSD 2.5 (bug in OpenBSD calls or configure script?)
...the machine - my logs showed an error of unable to set the appropriate GID from smbd/uid.c. (NT gave me the "incorrect user or password" dialog). The function that was failing was set_effective_gid in lib/util_sec.c. In that section there are four possible calls: some UID trapdoor call setresgid setregid setegid Which one is used is determined by #defines in include/config.h. For some reason the configure script set the trapdoor, the setregid, and the setegid (and the corresponding defs for uid calls) to 1 and did not declare only the one for setresgid. I commented the lines for the tra...
2012 Sep 28
0
incorrect configure test for "whether snprintf correctly terminates long strings"
...ure:8862: checking whether struct dirent allocates space for d_name conftest.c:88:2: error: implicit declaration of function 'exit' configure:9899: checking if setresuid seems to work conftest.c:164:2: error: implicit declaration of function 'setresuid' configure:9954: checking if setresgid seems to work conftest.c:166:2: error: implicit declaration of function 'setresgid' configure:10345: checking for (overly) strict mkstemp conftest.c:187:2: error: implicit declaration of function 'unlink' configure:13142: checking for struct timespec configure:13142: result: yes c...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
...futimes gai_strerror getcwd getaddrinfo getgrouplist getopt getnameinfo getrlimit getrusage getttyent glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty readpassphrase realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid setvbuf sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp utimes vsnprintf vhangup waitpid _getpty __b64_ntop) +AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd ge...
2022 Nov 06
12
[Bug 3497] New: setresuid configure check may need _GNU_SOURCE
https://bugzilla.mindrot.org/show_bug.cgi?id=3497 Bug ID: 3497 Summary: setresuid configure check may need _GNU_SOURCE Product: Portable OpenSSH Version: 9.1p1 Hardware: 68k OS: Mac OS X Status: NEW Severity: enhancement Priority: P5 Component: Build system Assignee:
2015 Apr 16
4
Samba 4 slow write
...22 fcntl 11.15 0.925249 5 178565 getegid 8.58 0.712096 16 44168 poll 8.09 0.671191 15 43904 25 writev 6.99 0.579632 7 87637 readv 6.74 0.558894 6 89031 setresgid 5.75 0.476910 5 90258 geteuid 5.17 0.428692 7 64342 138 lstat 3.42 0.283836 6 44877 setgroups 3.25 0.269644 6 44877 setresuid 2.54 0.211059 9 24111 5 stat 2.3...
2006 Apr 11
1
[Bug 1182] uid 0, gid !=0 fools defensive check in uidswap.c
...AssignedTo: bitbucket at mindrot.org ReportedBy: csmith at stoneboro.uucp.cirr.com I no longer have a test setup to check if this is still broken -- sorry -- but I thought you'd like to know about it anyway. If your uid is 0, the code in permanently_set_uid() to check if its setresgid worked properly is fooled. see bugs.gentoo.org #77915 comments 5, 6, 7. Thanks for openssh. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2002 Oct 25
0
NeXT Community
...\ inet_ntop innetgr login_getcapbool md5_crypt memmove \ - mkdtemp mmap ngetaddrinfo openpty ogetaddrinfo readpassphrase \ + mkdtemp ngetaddrinfo openpty ogetaddrinfo readpassphrase \ realpath recvmsg rresvport_af sendmsg setdtablesize setegid \ setenv seteuid setgroups setlogin setproctitle setresgid setreuid \ setrlimit setsid setpcred setvbuf sigaction sigvec snprintf \ socketpair strerror strlcat strlcpy strmode sysconf tcgetpgrp \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) + +dnl Make sure that mmap prototype is defined before defining HAVE_MMAP +AC_CHECK_DECL(mmap,...