Displaying 20 results from an estimated 30000 matches similar to: "Creating users on the fly, for testing?"
2013 Jun 30
1
LIST command -- quoting of folder names
If I open an imap connection to a local maildir installation like so:
/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/account/:LAYOUT=fs
And issue:
c list "" *
This is the result (this is a gmail account):
* LIST (\HasChildren) "/" [Gmail]
* LIST (\HasNoChildren) "/" [Gmail]/Spam
* LIST (\HasNoChildren) "/" [Gmail]/Starred
* LIST
2014 Sep 09
1
minimal configuration for lucene fts
Hi,
I'm using dovecot (version 2.2.13 on archlinux) in the simplest,
no-brainer way possible. It sits between mbsync, which I use to fetch
mail from servers, and Gnus, my MUA. Both mbsync and Gnus connect to
dovecot with an invocation like this:
/usr/lib/dovecot/imap -o mail_location=maildir:$HOME/.mail/ea/
I have three different mail accounts, all that changes is the final
directory on the
2015 Feb 06
2
Re: Creating users "on - the - fly"
This is a good suggestion - and maybe I'm not totally clear on the
restrictions...
So - in these situations gitolite will actually append things to your
authorized_keys file. Which can get very long. And after a while - it
gets *very* long. I think I saw comments that it should be limited to
about 20k or so. And around 20k the look up times are in the seconds.
So that wouldn't be enough
2015 Oct 13
2
iterate users with passwd-file passdb?
On 14 Oct 2015, at 00:01, Eric Abrahamsen <eric at ericabrahamsen.net> wrote:
>
> Joseph Tam <jtam.home at gmail.com> writes:
>
>> Eric Abrahamsen writes:
>>
>>> Simply: Is it possible to iterate over users if I'm using the
>>> passwd-file passdb driver? Do I need a SQL-based driver if I want to
>>> iterate?
>>
>> What
2015 Feb 06
4
Creating users "on - the - fly"
I guess I didn't want to litter the users table either - it just seems
"wrong" to be actually adding things to the host when it is really so
transient. It feels like it should be LDAP-ish. Just ask the server
for the keys and do a one-off authentication. But I've seen even LDAP
creates the user directories.
I see that 2.6 kernels can have some 4B users, which should last me a
2015 Oct 13
2
iterate users with passwd-file passdb?
Eric Abrahamsen writes:
> Simply: Is it possible to iterate over users if I'm using the
> passwd-file passdb driver? Do I need a SQL-based driver if I want to
> iterate?
What do you mean by "iterate"? If you mean whether you can look up a
password entry in a multi-entry file, then yes, definitely. If you
mean to sequentially go through it and do a first/last/best match,
2015 Feb 06
3
Re: Creating users "on - the - fly"
>> However - as I got into that - I realized that I have no way to "find"
>> just the keys for a single user. Since the only argument to that ssh
>> keys command, is the username. It's not HTTP so I couldn't point at a
>> subdomain and use that to look up the information.
>You may be interested in the bug report "extend the parameters to the
2015 Feb 06
2
Creating users "on - the - fly"
Hi all.
I have a situation that I wonder someone may have run into - or has a
direction I should dig / develop in.
Let's say I have a system with 1M "users". Their public keys are
stored in a database, and I can access them via a web call.
I have a few servers which should allow those users access.
Some constraints to make it non-crazy.
The users can only reverse tunnel. They
2015 Feb 06
2
Re: Creating users "on - the - fly"
On Fri 2015-02-06 14:30:13 -0500, Cary FitzHugh wrote:
> Hence - maybe a NSS User Database extension which looks for the
> public keys from a webservice (and then maybe writes them to
> /tmp/<username>.
No, i'm suggesting that when you want to look up the user, use NSS to
find the username and map it to a numeric user ID and the other
information that is typically found in
2009 Mar 21
2
Creating dataframe names on the fly?
I am aware that it is easily possible to create var names on the fly. e.g.
assign(paste("m",i,sep=""),j)
but is it possible to assign dataframes to variables created on the fly?
e.g.
If I have a dataframe called master and I wanted to subset parts of those
data into separate dataframes, I could do:
m1=subset(master,master$SAMPLE=='1')
2006 Jan 20
2
Creating thumbnail on the fly
I was doing some research about creating thumbnail images on the fly
after an image has been uploaded in a form, but for some reason it''s not
working for me. I''ve downloaded ImageMagick 6.2.5 for Mac but when I run
a test (identify image.gif) it gives me this error:
dyld: Library not loaded: /sw/lib/libjpeg.62.dylib
Referenced from: /Developer/ImageMagick-6.2.5/bin/identify
2005 Dec 15
0
Creating and managing Rails routes on the fly
Here is what I''d like to be able to do:
I want to be able administer routes using a rails application. So an
interface
would list routes and give users the ability to manage these on the fly:
class RoutesController < ApplicationController
# very simple example
def add
...
Routes.connect ''customurl'', :controller => "customcontroller",
2016 Apr 26
0
Antwort: Fw: Re: Creating variables on the fly (SOLVED)
Hi Don,
Hi to all readers,
many thanks for all your answers and all your help.
I adapted Don's code to my data and Don's code does the trick:
str(Kunden01)
for (year in 2011:2015) {
Reeller_Kunde <- paste0("Reeller_Kunde_", year)
Umsatz <- paste0("Umsatz_", year)
cat('Creating', Reeller_Kunde,'from', Umsatz,'\n')
Kunden01[[
2010 Nov 01
2
Creating RESTful helpers on the fly
If I have a resource called ''assets'' then I get for free a bunch of
helpers, like
assets_path
new_asset_path
and so forth, right?
I would like to be able to create a call to one of these on the fly when
I only find out the name of the resource at run time. For example I
would like to do this:
resource_name = "assets"
resource_path(resource_name, method => :new)
2006 May 11
0
creating variables on the fly with a loop
I''m trying to clean up some of my sloppy code, and one of the things I''m
working on is trying to make this huge group of variables a bit more
elegant.
My variables look like this:
@business_core_courses =
Category.find_by_title(''business_core_courses'').courses
@written_communication =
Category.find_by_title(''written_communication'').courses
2007 Feb 27
2
Creating a PDF on the fly
A friend and I are just in the process of trying to create PDFs on the
fly. This isn''t in itself too hard, but we have some repeating images
that are being put in over and over again. It''s increasing file size
too much unfortunately.
Does anyone know the best way to ensure file size is kept to a minimum
for this scenario? We know about linking to a URI, but the problem with
2014 Sep 04
2
charset-specific searches, and continuation lines
Hi there,
I'm looking into improving IMAP search support for the Gnus Emacs mail
client, and trying to add the ability to search non-ascii characters. So
far as I know, I start this invocation with something like:
. UID SEARCH CHARSET UTF-8 TEXT {NNN}
Where NNN is the number of bytes in my search string. Dovecot then
responds with:
+ OK
So... what do I do then? I don't actually know
2004 Oct 08
3
creating named elements of lists on the fly
HI Folks,
I'm trying to create a list with named elements. Only, I don't know the names of the elements a priori (they come from the data being calculated). Currently, my approach is to create an environment, then assign things to the environement, then as.list the environment to get a list.
Running the code gives, for example:
> e2 <- new.env(FALSE, NULL)
>
2016 Apr 22
4
Creating variables on the fly
Hi all,
I would like to use a loop for tasks that occurs repeatedly:
# Groups
# Umsatz <= 0: 1 (NICHT kaufend)
# Umsatz > 0: 2 (kaufend)
for (year in c("2011", "2012", "2013", "2014", "2015")) {
paste0("Kunden$Kunde_real_", year) <- (paste0("Kunden$Umsatz_", year) <= 0) * 1 +
2005 Mar 03
3
creating a formula on-the-fly inside a function
I have a function that, among other things, runs a linear model and
returns r2. But, the number of predictor variables passed to the
function changes from 1 to 3. How can I change the formula inside the
function depending on the number of variables passed in?
An example:
get.model.fit <- function(response.dat, pred1.dat, pred2.dat = NULL,
pred3.dat = NULL)
{
res <- lm(response.dat ~