Mail Archives: cygwin/2001/10/26/14:11:30
On Fri, Oct 26, 2001 at 11:34:42AM -0500, Peter Fales wrote:
> On Fri, Oct 26, 2001 at 06:00:58PM +0200, Corinna Vinschen wrote:
>
> > - SYSTEM doesn't need that rights set since it has all rights already.
> > - That are the rights needed for being able to change account using
> > password authentication.
> >
> > Either you let SYSTEM run cygrunsrv or you have to add the (very dangerous)
> > "Create a token object" user right to the account running cygrunsrv.
>
> How do I "let" SYSTEM run cygrunsrv? I think that may be the way it's
> working now, but I ran ssh-host-config as a user and didn't tell it
> anything special. Can I login as SYSTEM to do the ssh-host-config, or
> is there some way to tell it to run the service as SYSTEM?
Services get run by SYSTEM by default. You're mixing the user
as whom you installed the service with the user actually running
the service.
When you've used ssh-host-config for installing the sshd service,
it gets automatically run by SYSTEM.
> Just for testing, I added to "Create a token object" for the user who
> invoked cygrunsrv. That didn't make any difference either.
You'll better remove these rights from your account. They are really
dangerous if you're not absolutely sure what you're doing.
> > Besides that, do you have created a /etc/group file using mkgroup
> > and did you check your /etc/passwd file being ok?
>
> I do have a /etc/group file created with "mkgroup -l" and a /etc/passwd
> file created with "mkpasswd -l" - how can I tell if it is "OK"?
If you didn't change anything, they should be ok.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -