search for: getgid

Displaying 20 results from an estimated 81 matches for "getgid".

Did you mean: setgid
2002 Feb 22
0
Trouble with Samba 2.2.2 under HPUX (high cpu utilization)
...lve uids. Has anyone else run into problem with this? What should I do to fix the situation, my first thought is to comment 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) .......................
2005 Apr 20
8
[LLVMdev] misc CVS patches
...please see llvm-commits or the web archive. > > I didn't use get{u,g}id() because that's not portable - I think we > need another abstraction in the System library for these. Hmm, seems like it's available on the Unices that we support: Linux, OS X, and SunOS. Man page lists getgid() as conforming to POSIX and BSD 4.3, so I'm assuming *BSD has them too (can't confirm for lack of a *BSD system). As soon as we run into a Unix system that we want to support, we might have to go the abstraction route, but it seems to work for our currently-supported platforms. > Do...
2005 Apr 21
0
[LLVMdev] misc CVS patches
Markus, This patch can't be applied. Not all platforms have getgid() and getuid () functions. Placing non-portable code outside of lib/System is deprecated. We set the values to 1000 by default because in general the uid/gid doesn't matter in an archive and the 1000 value gets you to a safe (non-root, non-system) value. If a specific value for these is needed...
2005 Apr 21
0
[LLVMdev] misc CVS patches
...t's not portable - I think we >>>> need another abstraction in the System library for these. >>>> >>> >>> >>> >>> Hmm, seems like it's available on the Unices that we support: Linux, OS >>> X, and SunOS. Man page lists getgid() as conforming to POSIX and BSD >>> 4.3, so I'm assuming *BSD has them too (can't confirm for lack of a >>> *BSD >>> system). As soon as we run into a Unix system that we want to support, >>> we might have to go the abstraction route, but it seems to w...
2017 Mar 14
3
Having problem getting Asterisk to work on CentOS 7
...NULL, 8) = 0 stat("/bin/pkill", {st_mode=S_IFREG|0755, st_size=28336, ...}) = 0 stat("/bin/pkill", {st_mode=S_IFREG|0755, st_size=28336, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0 getgid() = 0 access("/bin/pkill", X_OK) = 0 stat("/bin/pkill", {st_mode=S_IFREG|0755, st_size=28336, ...}) = 0 geteuid() = 0 getegid() = 0 getuid() = 0...
2007 Feb 18
0
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
This may well actually be a problem with the Cygwin getgid() function. Aaron ----- Original Message ----- From: Aaron Gray To: LLVM Developers Mailing List Sent: Sunday, February 18, 2007 7:00 PM Subject: [LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem There seems to be a problem with the LLVM Cygwin configuration. Cygwin do...
2002 Jun 07
4
openssh for UWIN
...strerror(errno)); } ! #if !defined(HAVE_CYGWIN) && !defined(_UWIN) /* Set the effective uid to the given (unprivileged) uid. */ if (setgroups(user_groupslen, user_groups) < 0) fatal("setgroups: %.100s", strerror(errno)); *************** *** 131,137 **** setgid(getgid()); #endif /* SAVED_IDS_WORK_WITH_SETEUID */ ! #ifndef HAVE_CYGWIN if (setgroups(saved_egroupslen, saved_egroups) < 0) fatal("setgroups: %.100s", strerror(errno)); #endif /* !HAVE_CYGWIN */ --- 131,137 ---- setgid(getgid()); #endif /* SAVED_IDS_WORK_WITH_SETEUID */...
2017 Mar 14
5
Having problem getting Asterisk to work on CentOS 7
Some background information. I have used Debian with Asterisk for several years. Have encountered zero problems. I am now trying to setup an Asterisk on a CentOS7 box using VMWare Workstation. I am brand new to CentOS and RHEL so I may be missing something obvious. I am installing CentOS Minimal Install and Asterisk from Source. (I have installed Asterisk from Source on Debian hundreds of
2008 Oct 01
2
Sidebar re ABI stability (was Segmentation fault / core dump)
...oblems on Linux resulting from > self-incompatibility on a regular base. To be precise, Linus tries hard to prevent ABI changes in the system call interfaces exported from the kernel, but the glibc team had defeated him in the past. For example, they accidentally started returning ENOTSUP from getgid when one had a library version mis- match (!). Sun stabilizes both library and system call interfaces: I used to work on that with David J. Brown''s team, back when I was an employee. --dave (who''s a contractor) c-b -- David Collier-Brown | Always do right. This will...
2010 Jul 21
3
smbd -D hangs
I'm testing both sunfreeware and official sun (sfw) samba on Solaris 10. For some reason since yesterday, the smbd process just "hangs" at the start. No log is generated on server side Where smbd is started, I can't find any open port on 139 or 145 My OS is Solaris 10 # uname -a SunOS labo2 5.10 Generic_142900-13 sun4v sparc SUNW,SPARC-Enterprise-T5120 #
2006 Nov 28
1
Can't drop root group privileges
Hi all, I need your insight. I've been testing Dovecot on an AIX 5.2 system. Compiled and running fine. We have some users on an AIX 5.1 system, so I'm working on installing it there, so we can do further testing. I'm using Dovecot 1.0 RC15 with OpenSSL 9.0.7e, configured to use port 10143 (imap) and 10993 (imaps). The error I'm seeing in the log is: dovecot: Nov 28
2010 Sep 18
1
Dovecot LDA, virtual users, multiple uids: No luck
...usr/lib/dovecot/deliver -f toni at bogus.oeko.net -d dick at example.com Using strace on 'deliver', I get this: # su - dovelda $ echo "blubber" |sudo strace /usr/lib/dovecot/deliver -f toni at bogus.oeko.net -d dick at example.com ... geteuid() = 0 getgid() = 0 setgid(2000) = 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ setgroups(1, [2000]) = 0 setuid(2100) = 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ setuid(0)...
2004 Sep 22
1
[PATCH] permanently_set_uid: Don't try restoring gid on Cygwin
...CYGWIN /* Try restoration of GID if changed (test clearing of saved gid) */ if (old_gid != pw->pw_gid && (setgid(old_gid) != -1 || setegid(old_gid) != -1)) fatal("%s: was able to restore old [e]gid", __func__); +#endif /* Verify GID drop was successful */ if (getgid() != pw->pw_gid || getegid() != pw->pw_gid) { -- Corinna Vinschen Cygwin Project Co-Leader Red Hat, Inc.
2003 Apr 28
0
Samba crashes on password change from Windows 2000 clients
...r a few times whilst windows was sitting there. I've had a look in util_sec.c and it appears to be happening somewhere around here, no? --- static void assert_gid(gid_t rgid, gid_t egid) { if ((egid != (gid_t)-1 && getegid() != egid) || (rgid != (gid_t)-1 && getgid() != rgid)) { if (!non_root_mode()) { DEBUG(0,("Failed to set gid privileges to (%d,%d) now set to (%d,%d) uid=(%d,%d)\n", (int)rgid, (int)egid, (int)getgid(), (int)getegid(),...
2005 May 18
0
Err#150 EINPROGRESS
...getuid() = 0 [0] write(262, " [ 2 0 0 5 / 0 5 / 1 8 ".., 86) = 86 getuid() = 0 [0] write(262, " s e t t i n g s e".., 49) = 49 getuid() = 0 [0] getgid() = 0 [0] setgroups(0, 0x00000000) = 0 setregid(-1, 0) = 0 getgid() = 0 [0] setreuid(-1, 0) = 0 getuid()...
2007 Feb 18
5
[LLVMdev] LLVM Cygwin build RLIMIT_RSS configuration problem
There seems to be a problem with the LLVM Cygwin configuration. Cygwin does not support the RLIMIT_RSS symbol. llvm[1]: Compiling Program.cpp for Debug build /usr/src/llvm/lib/System/Unix/Program.inc: In function 'void llvm::SetMemoryLimi ts(unsigned int)': /usr/src/llvm/lib/System/Unix/Program.inc:123: error: 'RLIMIT_RSS' was not decla red in this scope make[1]: ***
2004 Oct 18
2
Index corruption
I'm getting pretty constant index corruption on (admittedly large) Maildir folders. I'm running Thunderbird 0.7.3 and Mutt as my IMAP clients (on FreeBSD). Server is Dovecot 0.99.10.9 configured thusly: ./configure --disable-ipv6 CC=gcc-3.3 CXX=g++-3.3 --prefix=/opt/dovecot --without-pop3d on a Solaris 2.8 box. Maildirs are NFS-mounted, but the index files are on local UFS
2004 Sep 25
1
[LLVMdev] Code to be moved to the specific platform in lib/System?
...tils.cpp:44: error: `getuid' undeclared (first use this function) C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp:44: error: (Each undeclared identifier is reported only once for each function it appears in.) C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp:46: error: `getgid' undeclared (first use this function) C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp:47: error: `S_IXGRP' undeclared (first use this function) C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp:49: error: `S_IXOTH' undeclared (first use this function) --------...
2002 May 16
3
uidswap
All, Could someone explain the purpose of the uidswap functions with respect to ssh ( the client ). From what I gathered , ssh installs as setuid root and swaps ids when reading potential key files that may be read only by root. Also , I think when binding to a privileged port ssh swaps id. Is that so? What are the consequnences if you do not install ssh setuid root? ( As far I as know no uid
2005 Aug 29
14
Oracle 9.2.0.6 on Solaris 10
How can I tell if this is normal behaviour? Oracle imports are horribly slow, an order of magnitude slower than on the same hardware with a slower disk array and Solaris 9. What I can look for to see where the problem lies? The server is 99% idle right now, with one database running. Each sample is about 5 seconds. I''ve tried setting kernel parameters despite the docs saying that