Re: Authentication problems with check_by_ssh

[email protected]
Newsgroups gmane.network.netsaint.user
Message-ID <OF9FC40C99.F26169C9-ONC1256C8B.007296FE-41256C8B.0073D25F@nworks.dk>
Hi there,

As far as I understand, netsaint starts as root, and the setuid's to the 
netsaint user. Is it possible that the netsaint process still has e.g. 
$HOME=/root and therefore looks in /root/.ssh/*? (Which it by the way 
can't because it is readonly by root?)

What happens when you do this as root?
root# sudo -u netsaint /some/path/check_by_ssh yada yada yada
? Does that fail too?

As step along the way, make sure the "sudo -u netsaint" command can even 
see /root/.ssh...
Of course this is not a working solution - what params does ssh have?... 
Hmm.. Thats for you to try...

If you get that working, doesn't check_by_ssh then work too? 

Peter


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.