bad installation ?

Owen Rees owen.rees@hp.com
Fri Mar 11 13:28:00 GMT 2005


--On 10 March 2005 20:14 +0000 John Morrison (Cygwin) wrote:

> Basically adding your user (using the domain flag if
> appropriate) to the passwd and group files which is
> what the message attempts to help the user to do.  It
> appears (judging from the number of times this
> question isn't now appearing on the lists) to have
> worked for most people, but I'm always looking for
> perfection ;)
>
> Hope this helps explain things,

My system is not in the same domain as my login id, and I suspect that may 
make a difference. One of the problems with saying "if appropriate" is that 
it assumes that the reader knows when it is appropriate, but if they did, 
they would probably not need to ask the question.

Searching the mail archives turned up this in 
<http://sourceware.org/ml/cygwin/2005-01/msg00642.html>:

> There is an off chance that 'mkpasswd -u yourself -d thedomain'
> might work, where thedomain is the global corporate domain.

Sustituting "domain part from the domain\user I can use to log in" for 
"global corporate domain" (they are not the same thing in my case) I got a 
result that included the (number of) the group "Domain Users", the group in 
which Windows utilities seems to create files for me. Unfortunately the 
result offered a different home directory from the one I have been using 
with my current setup, but a careful edit to /etc/passwd seems to have 
changed things for the better.

As for neither fixing the problem before, not posting about it, I was 
getting stupid results from 'ls -l' for the group, but apart from that 
nothing seemed to be broken. It did not seem worth a lot of effort trying 
to tidy up a loose end that did not seem to be making any real difference.

I did try the things that the message about mkgroup_l_d seemed to be 
suggesting, but they did not make any difference. In reading the man page 
for mkpasswd I did not realise that "current domain" apparently does not 
mean the domain in which my login id is defined.

-- 
Owen Rees <owen.rees@hp.com>
Hewlett Packard Laboratories, Bristol, UK
tel: +44 117 312 9439 fax: +44 117 312 8924




More information about the Cygwin-xfree mailing list