J'ai supprimé le service sshd et supprimé le compte utilisateur privilégié créé par le script. Maintenant je veux réinstaller sshd, et j'ai des problèmes avec le script de ssh-host-config.
Il trouve toujours l'utilisateur "cyg_server" et veut l'utiliser pour installer sshd, mais le compte n'existe pas car il a été supprimé.
*** Warning: cyg_server is in /etc/passwd, but the local
*** Warning: machine's SAM does not know about cyg_server.
*** Warning: Perhaps cyg_server is a pre-existing domain account.
*** Warning: Continuing, but check if this is ok.
*** Info: You appear to be running Windows XP 64bit, Windows 2003 Server,
*** Info: or later. On these systems, it's not possible to use the LocalSystem
*** Info: account for services that can change the user id without an
*** Info: explicit password (such as passwordless logins [e.g. public key
*** Info: authentication] via sshd).
*** Info: If you want to enable that functionality, it's required to create
*** Info: a new account with special privileges (unless a similar account
*** Info: already exists). This account is then used to run these special
*** Info: servers.
*** Info: Note that creating a new user requires that the current account
*** Info: have Administrator privileges itself.
*** Info: The following privileged accounts were found: 'cyg_server' .
*** Info: This script plans to use 'cyg_server'.
*** Info: 'cyg_server' will only be used by registered services.
*** Query: Do you want to use a different name? (yes/no)
Mon système est Windows 7 Ultimate, avec Cygwin et openSSH.
Q : Que dois-je faire pour que le script crée à nouveau l'utilisateur privilégié "cyg_server" ?