Access Denied to registry keys HKLM\Software

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Mon Oct 29 23:34:00 GMT 2007


Adrian Hill wrote:
> I am new to Cygwin, we are running version 1.59. Cygwin used is for account 
> management for our Active Directory. Cygwin is used to launch an C-based 
> program (that is running as service) that calls a VB6 Program, which is called 
> via a SSH connection from our central account management system that runs on a 
> Unix.


<snip>

Thanks for the lengthy description of what you're doing but you've left out
some key points and provided some invalid information already.  Please see
the following problem reporting guidelines which describes what we need to
help you:

<http://cygwin.com/problems.html>

<snip>


> I have also given the account administration rights within cygwin, and still 
> get the same problem. However, under windows within cygwin the code runs 
> fine..without going over the SSH connection…


My WAG is that you're sshing in using pubkey authentication.  If so, use
password authentication and see if that solves your problem.  This is a
known limitation in the current Cygwin package (one could argue it's a
Windows limitation too but....)


> I have noticed the security on proc/registry contains ???????? with no rights 
> is that normal..


Looks like your '/etc/passwd' and '/etc/group' aren't correct.  See
'mkpasswd' and 'mkgroup' documentation in the Cygwin Users Guide:

<http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd>
<http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup>


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list