search for: my_uid

Displaying 16 results from an estimated 16 matches for "my_uid".

Did you mean: my_pid
2004 Aug 25
2
Default path to identity file
...oes: SSH_PROTO_1: "~/%.100s", _PATH_SSH_CLIENT_IDENTITY SSH_PROTO_2: "~/%.100s", _PATH_SSH_CLIENT_ID_RSA "~/%.100s", _PATH_SSH_CLIENT_ID_DSA Identity files are always expanded by tilde_expand_filename() which gets the name of the home directory from getpwuid(my_uid)->pw_dir. This is not what I expect (well, hope :-) when my UID is 0 but I'm not root. In other words: my username is dahlem, my UID is 0, my HOME dir is /home/dahlem. Ssh does not use /home/dahlem/.ssh/id_rsa but /.ssh/id_rsa. When I use "slogin remote -l dahlem" on the serv...
2003 Jan 22
2
smbfs + large UID's
[ I'm not on this list, so please include me on the replies! ] Hi, I've discovered (at least for me and some colleagues;-) the following problem on Linux@x86 (2.4.*): When we try to mount FS's via smbfs with the option uid=<my_uid> this uid can only be 16bits wide:-( But we have uid's larger than 65536 which than end up beeing interpreted as %2^16 --> not allowing user-level access to the files. Is there any work in progress to fix that problem? I'm running Linux 2.4.20 and SuSE 8.1 installed samba 2.2.5 but...
2019 Jan 12
2
Solr -> Xapian ?
...w, for the results I see the member of fts_result is : ARRAY_TYPE(seq_range) definite_uids; I have the UID as a aray of uint32_t * How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan 2019, at 21.23, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > >> The below patch resolves the compilation error >> >> $ diff -p compat.h compat.h.joan >> *** compat.h 2019-01-11 20:21:00.7...
2019 Jan 12
2
Solr -> Xapian ?
...member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan 2019, at 21.23, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +01...
2018 Aug 21
5
selinux question
I have a web application which uses sudo to invoke python scripts as the user under which the application runs (NO root access).? Is there any reason why sudo would would require sys_ptrace access for this?? I only get this violation intermittenly, and not with every call to sudo.? Here's the violation: Summary: SELinux is preventing sudo (httpd_t) "sys_ptrace" to <Unknown>
2018 Aug 21
0
selinux question
...is the web app not running with that user?s permissions in the first place? If your answer is that it needs root access to bind to port 80, there are two common solutions: 1. Start the service as root, set up the port 80 listener, then drop privileges internally with getpwent(?myuser?) and setuid(my_uid). 2. Use an HTTP[S] proxy server, such as Apache with mod_proxy configured. Bind the actual web app to localhost and a high-numbered random port, then forward external port 80 hits to the internal service. This method has the additional advantage that you can use the path part of the URL to reli...
2001 Nov 19
2
Windows ME Logon scripts
I cannot seem to execute any logon %U.bat scripts. It see's them because I get a black box screen and a message 'running logon scripts'. If the user.bat file does not exist it simply skips this step. So I know it sees my bat files. If I execute it from the windows ME pc after the pc is booted up it works. The bat file is as follows: rem Network logon script net use h: \\win\homes
2019 Jan 12
0
Solr -> Xapian ?
...member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan 2019, at 21.23, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +01...
2019 Jan 13
0
Solr -> Xapian ?
...member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan 2019, at 21.23, Joan Moreau via dovecot <dovecot at dovecot.org> wrote: > The below patch resolves the compilation error > > $ diff -p compat.h compat.h.joan > *** compat.h 2019-01-11 20:21:00.726625427 +01...
2002 Jan 27
0
IdentityFile patch
...Jan 27 12:05:14 2002 @@ -16,6 +16,7 @@ #include "xmalloc.h" #include "log.h" #include "tildexpand.h" +#include "buffer.h" /* * Expands tildes in the file name. Returns data allocated by xmalloc. @@ -47,7 +48,7 @@ if (userlen == 0) pw = getpwuid(my_uid); /* Own home directory. */ else { - /* Tilde refers to someone elses home directory. */ + /* Tilde refers to someone else's home directory. */ if (userlen > sizeof(user) - 1) fatal("User name after tilde too long."); memcpy(user, filename, userlen); @@ -70,3 +71,58...
2002 Jan 27
1
[PATCH] Add user-dependent IdentityFile to OpenSSH-3.0.2p1
...Jan 27 12:05:14 2002 @@ -16,6 +16,7 @@ #include "xmalloc.h" #include "log.h" #include "tildexpand.h" +#include "buffer.h" /* * Expands tildes in the file name. Returns data allocated by xmalloc. @@ -47,7 +48,7 @@ if (userlen == 0) pw = getpwuid(my_uid); /* Own home directory. */ else { - /* Tilde refers to someone elses home directory. */ + /* Tilde refers to someone else's home directory. */ if (userlen > sizeof(user) - 1) fatal("User name after tilde too long."); memcpy(user, filename, userlen); @@ -70,3 +71,58...
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...+0000 @@ -283,6 +283,7 @@ int ret, pre_exec_fd = -1; pid_t pre_exec_pid = 0; char *request = NULL; + int niceval; if (!allow_access(addr, host, lp_hosts_allow(i), lp_hosts_deny(i))) { rprintf(FLOG, "rsync denied on module %s from %s (%s)\n", @@ -559,6 +560,29 @@ am_root = (MY_UID() == 0); } + /* If the user provided a nice increment to lower the priority, + * do it here. Negative nice not allowed, and we rely on the OS + * to quietly limit the maximum nice (no point in us vetting it). + * + * The return value from nice(2) varies across operating systems + * (linux...
2003 Jan 18
0
[Patch] User-dependent IdentityFile
...Jan 18 16:20:41 2003 @@ -16,6 +16,7 @@ #include "xmalloc.h" #include "log.h" #include "tildexpand.h" +#include "buffer.h" /* * Expands tildes in the file name. Returns data allocated by xmalloc. @@ -47,7 +48,7 @@ if (userlen == 0) pw = getpwuid(my_uid); /* Own home directory. */ else { - /* Tilde refers to someone elses home directory. */ + /* Tilde refers to someone else's home directory. */ if (userlen > sizeof(user) - 1) fatal("User name after tilde too long."); memcpy(user, filename, userlen); @@ -71,3 +72,58...
2018 Aug 21
2
selinux question
...running with that user?s permissions in the first place? > > If your answer is that it needs root access to bind to port 80, there are two common solutions: > > 1. Start the service as root, set up the port 80 listener, then drop privileges internally with getpwent(?myuser?) and setuid(my_uid). > > 2. Use an HTTP[S] proxy server, such as Apache with mod_proxy configured. Bind the actual web app to localhost and a high-numbered random port, then forward external port 80 hits to the internal service. This method has the additional advantage that you can use the path part of the UR...
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error $ DIFF -P COMPAT.H COMPAT.H.JOAN *** compat.h 2019-01-11 20:21:00.726625427 +0100 --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 *************** struct iovec; *** 202,207 **** --- 202,211 ---- ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len); #endif + #ifdef __cplusplus + extern "C" { + #endif + #if
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript