search for: getuid

Displaying 20 results from an estimated 394 matches for "getuid".

Did you mean: getpid
2003 Aug 01
0
FW: winbind on Solaris 2.5.1 not working.
...= 0 549: brk(0x00130D70) = 0 549: open("/usr/share/lib/zoneinfo/US/Pacific", O_RDONLY) = 3 549: read(3, "\0\0\0\0\0\0\0\0\0\0\0\0".., 8192) = 817 549: close(3) = 0 549: sigaction(SIGSEGV, 0xEFFFEF00, 0x00000000) = 0 549: sigaction(SIGBUS, 0xEFFFEF00, 0x00000000) = 0 549: getuid() = 0 [0] 549: getgid() = 1 [1] 549: umask(022) = 022 549: open("/usr/local/samba/var/log.winbindd", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3 549: lseek(3, 0, SEEK_END) = 0 549: umask(022) = 022 549: time() = 1059760324 549: getuid() = 0 [0] 549: write(3, " [&...
2004 Dec 03
2
NFS mounted directory
...which has crashed gives the following: *** SUID: ruid/euid/suid = 0 / 2053 / 2053 *** *** SGID: rgid/egid/sgid = 0 / 500 / 500 *** poll(0xFFBEED08, 2, 32000) (sleeping...) poll(0xFFBEED08, 2, 32000) = 0 time() = 1102092631 getuid() = 0 [2053] write(25, " [", 1) = 1 write(25, " 2 0 0 4 / 1 2 / 0 3 1".., 19) = 19 write(25, " , 0", 3) = 3 write(25, " ] ", 2) =...
2002 Feb 22
0
Trouble with Samba 2.2.2 under HPUX (high cpu utilization)
................................... = 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) ......................... = 207011840 write(40, "010117\0' \0\0\0\r\0g \ace065 06".., 2048) .... = 2048 send(12, "\0\0\0/ ffS M B / \0\0\0\08801\0".., 51, 0) .... = 51 select(21, 0...
2004 Jan 07
1
openssh 3.7.1p2 fault on solaris 9 for sparc when built as 64-bit
...time after it reads /etc/default/login, it faults and kills the connection. There are no error messages logged to syslog (with LogLevel set to DEBUG) or with the -ddd option. Here's a truss of the failure: 8132: open("/etc/nologin", O_RDONLY) Err#2 ENOENT 8132: getuid() = 1000 [1000] 8132: getuid() = 1000 [1000] 8132: getuid() = 1000 [1000] 8132: getuid() = 1000 [1000] 8132: open("/etc/default/lo...
2008 May 21
9
Slow pkginstalls due to long door_calls to nscd
...) 1210472.1302 door_call(4, 0xFFBFD030) = 0 1210472.1306 open("/dev/udp6", O_RDONLY) = 5 1210472.1310 ioctl(5, SIOCGLIFNUM, 0xFFBFD2DC) = 0 1210472.1312 close(5) = 0 1210472.1312 getuid() = 0 [0] 1210472.1313 getuid() = 0 [0] 1210472.1314 door_info(4, 0xFFBFCF88) = 0 door_call(4, 0xFFBFD030) (sleeping...) 1210482.1503 door_call(4, 0xFFBFD030)...
2001 Jul 29
1
add version 2 identities by default, too
...ssh-add.c Sat Jul 28 23:49:01 2001 @@ -182,12 +182,63 @@ printf("The agent has no identities.\n"); } +void +add_default_identities(AuthenticationConnection *ac, int deleting) +{ + char identity_name[1024]; + char dsa_name[1024]; + char rsa_name[1024]; + struct passwd *pw = getpwuid(getuid()); + snprintf(identity_name, sizeof identity_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_IDENTITY); + snprintf(rsa_name, sizeof rsa_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIENT_ID_RSA); + snprintf(dsa_name, sizeof dsa_name, "%s/%s", pw->pw_dir, _PATH_SSH_CLIEN...
2005 Jan 20
27
[Bug 974] Record Badlogins for all supported Authentication methods
http://bugzilla.mindrot.org/show_bug.cgi?id=974 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Platform|HPPA |All Summary|Enhancement : Record |Record Badlogins for
2007 Oct 07
6
issetugid() for other procs
Any way to check if another proc has run or been run by a proc that is setuid or seteuid?
2007 Dec 03
1
version 3.0.27a unix passwd sync nor working any more
...m : D o c h i l d f o r 16854/1: u s e r m t e s t ( u i d = 0 , g i d = 0 ) ( a s _ r o 16854/1: o t = Y e s )\n 16854/1: setreuid(0, 0) = 0 16854/1: setuid(0) = 0 16854/1: getuid() = 0 [0] 16854/1: getuid() = 0 [0] 16854/1: setsid() = 16854 16854/1: open64("/dev/pts/5", O_RDWR) = 28 16854/1: close(9)...
2002 Nov 10
2
Trying to join a Solaris 8 box to Windows 2000 AD.
...ONFIG_STACK_PROT) = 7 sigfillset(0xFEF40910) = 0 sigaction(SIGUSR1, 0xFFBEF548, 0xFFBEF5C8) = 0 sigaction(SIGUSR2, 0xFFBEF548, 0xFFBEF5C8) = 0 sigaction(SIGSEGV, 0xFFBEF4D8, 0xFFBEF558) = 0 sigaction(SIGBUS, 0xFFBEF4D8, 0xFFBEF558) = 0 getuid() = 0 [0] getgid() = 1 [1] umask(022) = 022 open64("/usr/local/samba/var/log.winbindd", O_WRONLY|O_APPEND|O_CREAT, 0644) = 3 umask(022) =...
2017 May 09
5
[PATCH 0/3] Allow syscalls for openssl engines
This patchset allow syscalls (flock, ipc, getuid, geteuid and ioctl), so openssl engines, e.g. OpenSSL-ibmca and OpenSSL-ibmpkcs11, can work and communicate with the crypto cards during ssh login. 1. The flock and ipc are allowed only for s390 architecture. They are needed for openCryptoki project (PKCS#11 implementation), as the ibmpkcs11 engin...
2003 Jan 09
1
[PATCH] Allow multiple accounts on Windows 9x/Me
...h_cvs/session.c,v retrieving revision 1.227 diff -u -p -r1.227 session.c --- session.c 7 Jan 2003 06:38:59 -0000 1.227 +++ session.c 9 Jan 2003 22:23:15 -0000 @@ -1204,7 +1204,7 @@ void do_setusercontext(struct passwd *pw) { #ifdef HAVE_CYGWIN - if (is_winnt) { + { #else /* HAVE_CYGWIN */ if (getuid() == 0 || geteuid() == 0) { #endif /* HAVE_CYGWIN */ @@ -1257,6 +1257,9 @@ do_setusercontext(struct passwd *pw) permanently_set_uid(pw); #endif } +#ifdef HAVE_CYGWIN + if (is_winnt) +#endif if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) fatal("Failed to set uids to %u...
2005 May 18
0
Err#150 EINPROGRESS
...processes stop responding. The result is that the files which are locked by that process are not accessible until I kill that process, obviously. Loglevel 3 doesn't report anything. The only error message I get (see header) is reported by truss Here's the last few truss lines: 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(...
2017 Feb 01
2
net ads and wbinfo are painfully slow -- but they work
On Wed, 1 Feb 2017 09:47:38 +0100 "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote: > We are missing the content of /etc/nsswitch.conf > Can you post that also. > > But you probely see: > hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 > > i suggest > hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4 > > since your using
2013 Apr 11
1
[PATCH] always work with empty --root in zypp driver
The current mode of operation in the zypp driver is to download all packages into a temporary pkg-cache-dir. Installed packages in the root filesystem are ignored, otherwise zypper would download only a subset of packages, and it would not provide a list of all required dependencies. Remove the getuid check to force an empty root directory and use the configured system repositories. This works for root and non-root users. Signed-off-by: Olaf Hering <olaf at aepfle.de> --- src/supermin_zypp_rpm.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/supermin_zypp_r...
2011 May 18
2
Might a patch to ssh-agent to allow relaxing of peer euid check be accepted?
....000000000 -0400 @@ -137,6 +137,9 @@ /* Default lifetime (0 == forever) */ static int lifetime = 0; +/* Flag for allowing mismatched peer EUIDs */ +static int U_flag = 0; + static void close_socket(SocketEntry *e) { @@ -1023,11 +1026,18 @@ break; } if ((euid != 0) && (getuid() != euid)) { - error("uid mismatch: " - "peer euid %u != uid %u", - (u_int) euid, (u_int) getuid()); - close(sock); - break; + if (U_flag) { + verbose("uid mismatch (permitted by -U): " + "peer euid %u != uid %u"...
2000 Oct 30
2
SSH not responding.
...an no longer connect. From Linux, this is the output: pc078:~$ ssh -v 208.240.199.51 SSH Version OpenSSH_2.2.0p1, protocol versions 1.5/2.0. Compiled with SSL (0x0090600f). debug: Reading configuration data /local/hda4/lar/etc/ssh_config debug: Seeding random number generator debug: ssh_connect: getuid 1555 geteuid 1555 anon 1 debug: Connecting to 208.240.199.51 [208.240.199.51] port 22. debug: Connection established. Any Ideas? Thanks, Laramie. (Some of the finer points missing from my e-mail address.)
2005 Feb 23
1
getpeereid
...ed getpeereid in Cygwin and I found that there's something I don't understand. In ssh-agent.c and in clientloop.c, getpeereid is used to ask for the effective uid of the peer side of the connected socket. So far so good, but why does the test look like this: if ((euid != 0) && (getuid() != euid)) ? Is there any good reason why root should be able to connect to the ssh-agent of a user? What is that reason? Otherwise, shouldn't it be better just if (getuid() != euid) ? Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat, Inc.
2002 Feb 23
2
BSD installation
Hi all ! I searched newsgroup archive prior to ask this newbie question, did not find any answer; I am trying to install wine (20020122) on FreeBSD (4.5) I have 2 problems: 1. When I do installation from port, I am getting errors like "undefined reference to .." To memset, getuid, memcpy, strcat, strcpy etc .. 2. When is is finally built and installed, I can run wine itself but I can not use ./tools/wineinstall for tune-up :( It says "command not found" Any suggestions? I tried chmod -x, checked all permissions to 755, tried under user and under root, tried ins...
2002 Nov 25
0
Linux and Samba Code
...ewpw[STRLEN]; int reallyroot = 0; char *cp; FILE *mystderr; /* do we have the appropriate permissions? */ if (geteuid() != 0) { fprintf(stderr, "This program cannot run unless it is SUID-root, " "exiting...\n"); exit(1); } if (getuid() == 0) reallyroot = 1; /* get the appropriate username */ if (argc > 1) { if (reallyroot) { /* if root, we can specify a username */ strncpy(name, *++argv, STRLEN); } else { fprintf(stderr, "Only the root user can specify a name, exiting...\n&qu...