usr:pwd file

What is the format of the file to be supplied when one starts Kdb with-u F: just a list of uid:pwd pairs, one per line? I looked around fora while but couldn’t dig up any information.Thanks

yes,

username:md5password

one per line

q)md5"mypassword"

0x34819d7beeabb9260a5c854bc85b3e44

e.g.

annakh7:34819d7beeabb9260a5c854bc85b3e44

Thanks. When starting Kdb without the -u option, it looks (from what Iam told; I can’t check myself directly) like users other than the onewho started the server cannot remotely connect to it. Is it so?

Thanks. When starting Kdb without the -u option, it looks (from what I
am told; I can’t check myself directly) like users other than the one
who started the server cannot remotely connect to it. Is it so?

no.

if no -u command line option is passed, then no default authentication is performed

On Sep 17, 2009, at 12:54 AM, annakh7 wrote:

> Thanks. When starting Kdb without the -u option, it looks (from what I
> am told; I can’t check myself directly) like users other than the one
> who started the server cannot remotely connect to it. Is it so?

no

this is me starting q as myself, then connecting as root:

in one terminal:

% q -p 5001
KDB+ 2.6 2009.09.15 Copyright (C) 1993-2009 Kx Systems
m32/ 2()core 2048M adavies air.lan

q)a:1
q)

in another:

air:~ :) % sudo su -

For troubleshooting assistance, just type ‘applejack’ at the prompt
air:~ root# QHOME=/usr/local/q DYLD_LIBRARY_PATH=/usr/local/q/mac/
rlwrap /usr/local/q/mac/rlwrap/rlwrap -i -c -r -f /usr/local/q/mac/
qcmds.txt /usr/local/q/m32/q
KDB+ 2.6 2009.09.15 Copyright (C) 1993-2009 Kx Systems
m32/ 2()core 2048MB root air.lan

q)(hopen 5001)`a
1
q)

Thanks to both of you for the clarification. Something else must be atplay.

By the way, why the hashing? It seems to work fine without it.

Date: Wed, 16 Sep 2009 21:43:01 +0100Message-ID: <1855e77f0909161343v68f6b064rff65306ec3f7f3a0@mail.gmail.com>Subject: Re: [personal kdb+] Re: usr:pwd fileFrom: Attila Vrabecz <attila.vrabecz>To: personal-kdbplus@googlegroups.comI am sure you will find the answer out yourself. AttilaOn Wed, Sep 16, 2009 at 9:38 PM, annakh7 wrote:>> By the way, why the hashing? It seems to work fine without it.>> >></attila.vrabecz>

For security reasons? OK but that’s unrelated.

X-Mailer: Apple Mail (2.936)check /etc/shadow on linux box for a parallel reference.ok. you can’t put passwords in clear in a file but it will be stupid.a hashed password is one way to end up in the same point without being able to deduce it from the hash value.On 16 Sep 2009, at 23:48, annakh7 wrote:>> For security reasons? OK but that’s unrelated.>> >