similar to: Running tests as a different user

Displaying 20 results from an estimated 1000 matches similar to: "Running tests as a different user"

2014 Aug 13
1
howto install sudo schema
Hi everyone i wish to add the Microsoft Active Directory schema from the sudo package to my samba4 ADC, from what i have researched this is what i should do, the Microsoft Active Directory schema and the instructions are from the sudo package, the sudo_user file is an example from the man page. ldbadd -H /etc/samba/private/sam.ldb \ schema.ActiveDirectory \ --option="dsdb:schema
2011 Dec 20
2
sendmail and sudo
This is annoying. I ssh to a server, then, it doesn't matter if I su - or sudo -s, I start a service (motion, if it matters), and when the service sends an email, it's from me, not from root, or the user the service runs as. I've dumped my environment, I've just dumped service's environment. I've set SUDO_USER to root, and SUDO_UID to 0, and restarted the service, and
2016 Nov 29
0
sudo user to access xen server remotely.
HI, i am trying to use sudo user to access xen server remotely. As its documented, libvirtd can be accessed only through root user or users from libvirtd usergroup. is there any tweak or possibility to access libvirt remotely through sudo user? or by using certificate? code snippet: #!/usr/bin/env python import sys import libvirt conn = libvirt.open('xen+ssh://sudo_user@xen_server') 
2004 Oct 11
0
Odd error
I have Ssh setup for passwordless execution of the rsync command via sudo. (command="sudo /usr/local/bin/rsync...") which for the most part works fine. However, somewhere along the line things aren't running as the right uid/gid. I get Oct 11 13:15:40 node15 sudo: back-op : TTY=unknown ; PWD=/usr/home/back-op ; USER=root ; COMMAND=/usr/local/bin/rsync --server --daemon . Oct 11
2017 Jun 04
5
[Bug 12817] New: [PATCH] Allow daemon itself to chroot
https://bugzilla.samba.org/show_bug.cgi?id=12817 Bug ID: 12817 Summary: [PATCH] Allow daemon itself to chroot Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter:
2007 Nov 07
1
SIP: "To:" header?
Quick question for those who know the innards of chan_sip: Does chan_sip use the "To:" header of an incoming INVITE request, for anything other than setting SIP_HEADER(TO) ? As far as I can tell so far, the target extension is taken from the request URI, i.e. sip:extension at domain, and the target context is taken from the section in sip.conf that matches the request's source IP
2010 Mar 01
1
How do I create a new menu category in GNOME ?
Hi, The title says it all. My GNOME desktop is in French, so here's what my standard Applications (same word in french) menu looks like : Applications > Accessoires (Utilities) > Bureautique (Office) > Graphisme (Graphics) > Internet (Internet) > Son et vid?o (Sound and Video) Now I'm currently installing a medical
2007 Mar 29
1
Dell poweredge 860 acceptable forofficeenvironment ?
>> The tomshardware-guys (no gals would do this...) have removed the >> fans, and immersed the innards of the computer in a sealed cabinet >> filled with cooking oil. So they have a completely silent machine >> in 40C warm oil. Amazing... It certainly is. And, I suppose, this will work, for a while, as long as: The "sealed cabinet", has enough expansion
2005 Jun 27
2
Root privilege solution
I want to set up RSYNC so it has root privilege on the remote server. I do not want to run rsync through inetd. I want to be able to limit who can use rsync when the remote end has root privilege. I prefer not to use rsync's internal user/secrets file. I do want to use SSH as the transport shell. With that in mind, here is what I tried. I wrapped the rsync single use daemon execution on the
2016 Mar 05
2
Adding 'v16f16' to tablegen
I have been able to adapt the main LLVM sources to work with vectors of 16 x FP16 values and I have introduced the 'v16f16' data type to CLang and LLVM, but I am stumped on how to get TableGen to recognise this type. At the moment I am trying to optimise the calling convention code, and whenever I refer to 'v16f16' I get a crash in TableGen (unrecognised type). Unfortunately I
2013 Nov 08
0
[LLVMdev] Proposal for safe-to-execute meta-data for heap accesses
On Thu, Nov 7, 2013 at 9:39 PM, Filip Pizlo <fpizlo at apple.com> wrote: > NEW PROPOSAL > > The solution is to introduce meta-data that is explicit about how the > safe-to-execute condition ought to be evaluated. Instead of an SSA use, we > can have meta-data that says: > > %v = load %p !notrap !{ @f, <args> } > > where @f is a function in the
2009 Jan 07
1
[LLVMdev] Private headers and testing
2009/1/3 Chris Lattner <clattner at apple.com> > On Jan 2, 2009, at 1:48 PM, Misha Brukman wrote: > > 2009/1/2 Chris Lattner <clattner at apple.com> > >> On Jan 2, 2009, at 12:21 PM, Misha Brukman wrote: >> Do you have a specific example of a unit test that would need these? I >> really think these should stay private. >> > > Let's take
2008 Jul 15
1
[LLVMdev] Spilled variables using unaligned moves
Hi Evan, Could you maybe point me to the source files where this issue might originate? I'd like to learn more about LLVM's innards but so far I've just scraped the surface and I don't know where what phase of instruction selection / register allocation / stack layout / etc. happens. If I understand correctly this issue might be fixed by moving stack pointer alignment
2007 Mar 15
6
Patch to 0.0.39
Hi I''m developing software using wxruby2. At first I tried to use wxruby 0.6 but I couldn''t live without some of those new funky features :) So, instead of writing my own code, I got a bit sidetracked and wrote http://rubyforge.org/tracker/index.php?func=detail&aid=9297&group_id=35&atid=220 instead. Seeing as this is my first foray in to the innards of wxruby2, I
2006 Dec 02
0
Fwd: Re: Mocha and ActiveRecord
---------- Forwarded message ---------- From: J. B. Rainsberger <jbrains762 at gmail.com> Date: 02-Dec-2006 02:48 Subject: Re: Mocha and ActiveRecord To: ruby-talk ML <ruby-talk at ruby-lang.org> James Mead wrote: > On 28/11/06, J. B. Rainsberger <jbrains762 at gmail.com> wrote: >> >> Suppose I have an Order, which has_many OrderItems. Suppose I want to >>
2014 Sep 17
1
Dtrace of smbd shows some errors in FreeBSD 9.2 with Samba 4.1.11 possibly related to talloc
Opening folders containing 10K files totaling 20GB is slow (takes 1.5 - 2.0 minutes) in FreeBSD 9.2 with Samba 4.1.11 on a system with 32GB RAM and a newer Xeon processor. Server is a standalone server that I'm using for testing. I am using nfsv4 acls. I used the procsystime dtrace script from here: http://www.brendangregg.com/DTrace/procsystime with the following syntax: procsystime -n smbd
2008 Mar 18
0
Utilities for methods
The first implementation of the methods package used the "MethodsList" class for method dispatch. Objects from the class stored methods recursively by the separate arguments in the method signature. That was a good structure for selecting a method, but not for most other utilities. However, it was used for essentially everything in the beginning. The methods list for a
2017 May 06
2
Email list just for front end developers?
On Sat, 6 May 2017 23:11:16 +0800 C Bergström <cbergstrom at pathscale.com> wrote: > On Sat, May 6, 2017 at 11:07 PM, Perry E. Metzger via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > > Howdy! > > > > I've noticed that requests for help by people like me who are > > developing front ends are often lost in the noise in the llvm-dev > >
2002 Jun 28
0
handling of missing values in aov/lm
R provides a few ways of handling missing values, a.o. in the context of an anova (aov); 2 types of exclusion, and failure. In some situations, I personally like to have missing values replaced by the mean (or the median) for the given combination of factors. A routine that does that is something like the code included below. It works, but is (of course) rather slow. It would be much quicker
2009 Jan 08
0
[LLVMdev] LLVMdev Digest, Vol 55, Issue 16
1. Re: LLVM optmization (Bill Wendling) Hi, The IR is not wrong. I said that the assembler generated by MSVC is quicker. We can see that the for loop, in the TESTE function, is done without jump's in the MSVC and with jumps in LLVM. I think thats the point. If we don't use threads, the result is the same. My test were done with one billion interactions in the for loop. The MSVC