This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Permissions problem mounting NFS shares from Cygwin sshd
On May 11 12:20, Chip Olson wrote:
> sshd : PID 1364 : starting service `sshd' failed: execve: 1, Operation
> not permitted.
>
> Which tells me Administrator doesn't have the privileges to start
> sshd.
What does the event log show? In any case, you should not only check
permissions on sshd.exe, but also on all files which are accessed by sshd.
The general rule is that all these files must be owned by the user running
sshd. In your case Administrator. If I'd want to run sshd under another
account for testing purposes, I'd do this:
$ chown <other-account> /etc/ssh* /var/empty
You should also have another look into the permissions of the private
host keys. They should be very strong:
$ chmod 600 /etc/ssh_host*key
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/