Proper Setting of mkpasswd and mkgroup
David Sastre
d.sastre.medina@gmail.com
Wed Jan 12 01:15:00 GMT 2011
On Tue, Jan 11, 2011 at 02:09:40PM -0700, Gary Furash wrote:
> > On Tue, Jan 11, 2011 at 10:55:09AM -0700, Gary Furash wrote:
> > > Problem:
> > > 1. When I create a file or such using cygwin, it says that the group
> > > is "mkpasswd".
> > >
> > > What's the proper combination of MKPASSWD and MKGROUP commands to run?
> >
> > Backup both files first (/etc/passwd and /etc/group).
> > Try to rebuild your /etc/passwd and /etc/group files by issuing:
> >
> > $ mkpasswd -l [-d] > /etc/passwd
> > $ mkgroup -l [-d] > /etc/group
> >
> > Please refer to the manpages of mkpasswd and mkgroup regarding the use of
> > -d/-D for machines inside a Domain.
> >
> > There are also detailed instructions in /etc/profile on how to deal with
> > this.
> Thank you David. However, I did do that, I just didn't understand it. :-)
Did you read the manpages?
> I assume there is a mkgroup and mkpasswd you issue if you have a stand-alone
> machine, and a slightly different one you issue if you're part of a windows
> domain.
Exactly. That is what the -d/-D option does.
> However, I'm definitely not doing the right thing, since when I run bash.exe
> from the dos command line to run in the background, it fails with the
> "everything is MKGROUP" error.
Have you tried using another terminal, like mintty, and see if it
makes a difference?
What exactly is the output of the commands above?
Also, please, don't top post and try not to quote email addresses in
your responses.
--
Huella de clave primaria: 0FDA C36F F110 54F4 D42B D0EB 617D 396C 448B 31EB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110112/014efcf5/attachment.sig>
More information about the Cygwin
mailing list