Topic: Que tente de faire MySecureSheel avec le fichier sudoers ????

Suite de
http://mysecureshell.free.fr/forum/viewtopic.php?id=619

J'ai un peu de mal à comprendre la succession de

Do you want to start server ? (y/n)
y
Can't wake up server: Operation not permitted
Server started                                                           [ OK ]

et surtout

Checking user : graphic
sudo: can't open /usr/local/etc/sudoers: Permission denied

et au bilan

j'ai

# /usr/local/bin/MySecureShell
Shell access is disabled !

Result de sftp-verif :

# /usr/local/bin/sftp-verif


################################################################################
                        MySecureShell Verification Tool
################################################################################

### Verifing file existance ###

/bin/MySecureShell                                                   [ FAILED ]
/usr/local/bin/sftp-who                                                  [ OK ]
/usr/local/bin/sftp-kill                                                 [ OK ]
/usr/local/bin/sftp-state                                                [ OK ]
/usr/local/bin/sftp-admin                                                [ OK ]
/usr/local/bin/sftp-verif                                                [ OK ]
/usr/local/bin/sftp-user                                                 [ OK ]


### Verifing rights ###

Verifing file rights of /usr/local/etc/sftp_config                       [ OK ]
Verifing file rights of /usr/local/bin/sftp-who                          [ OK ]
Verifing file rights of /usr/local/bin/sftp-verif                        [ OK ]
Verifing file rights of /usr/local/bin/sftp-user                         [ OK ]
Verifing file rights of /usr/local/bin/sftp-kill                         [ OK ]
Verifing file rights of /usr/local/bin/sftp-state                        [ OK ]
Verifing file rights of /usr/local/bin/sftp-admin                        [ OK ]
File /bin/MySecureShell does not exist                               [ FAILED ]


### Verifing rotation logs ###

1


### Verifing server status ###

Verifing server status (ONLINE)                                      [ FAILED ]

Do you want to start server ? (y/n)
y
Can't wake up server: Operation not permitted
Server started                                                           [ OK ]


### Verifing server dependencies ###

Show only error(s) :
/bin/MySecureShell: not found


### Verifing server configuration ###

Show only error(s) :
Trying user: root
/bin/MySecureShell: not found
Checking user : graphic
sudo: can't open /usr/local/etc/sudoers: Permission denied


### All tests dones ###

Re: Que tente de faire MySecureSheel avec le fichier sudoers ????

Bonjour,

Lors de l'appel "sftp-verif", le script tester la configuration pour tout les utilisateurs MySecureShell détecté pour cela il utilise la commande "sudo".

PS: au passage le script "sftp-verif" ne respecte pas tout à fait le "configure" mais je vais corriger ça aussi smile