This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Windows 8 permissions broken after a reboot


I think since last reboot I switched my user to a local account, and
back to a MS (internet) account. It is probable that which caused the
issue.

Simon


On Sun, Jun 16, 2013 at 3:13 PM, Simon Majou <simon@majou.org> wrote:
> Hello,
>
> My computer rebooted last night and now sshd doesn't work. The service
> doesn't start anymore.
>
> I tried :
>
> $ cygrunsrv -R sshd
> cygrunsrv: Error removing a service: OpenSCManager:  Win32 error 5:
> Accâs refusâ.
>
> (that's access denied)
>
> I re installed cygwin, but I got :
>
> $ ssh-host-config -y
>
> *** Warning: Running this script typically requires administrator privileges!
> *** Warning: However, it seems your account does not have these privileges.
> *** Warning: Here's the list of groups in your user token:
>
>     Utilisateurs
>     HomeUsers
>
>
> And while my user is Administrator in Windows, in cywin I got :
>
> $ id
> uid=1001(simon) gid=545(Utilisateurs) groupes=545(Utilisateurs),1002(HomeUsers)
>
> I tried to update the /etc/passwd to assign my user the Admin group
> (as I have in Windows), but then I got :
>
> *** Query: Should privilege separation be used? (yes/no) yes
> *** Warning: The owner and the Administrators need
> *** Warning: to have .w. permission to /var/run.
> *** Warning: Here are the current permissions and ACLS:
> *** Warning:     drwxrwxrwx+ 1 simon simon 0 16 juin  15:06 /var/run
> *** Warning:     # file: /var/run
> *** Warning:     # owner: simon
> *** Warning:     # group: simon
> *** Warning:     user::rwx
> *** Warning:     group::rwx
> *** Warning:     group:SystÃme:rwx
> *** Warning:     group:Administrateurs:rwx
> *** Warning:     mask:rwx
> *** Warning:     other:rwx
> *** Warning:     default:user::rwx
> *** Warning:     default:group::r-x
> *** Warning:     default:other:r-x
> *** Warning:
>
>
> Simon

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]