Public bug reported:

After fresh install, users with mysecureshell as shell can't login get
an exit code 14

sftp-verif show that the binary has the wrong permissions

root@scp:/etc/ssh# sftp-verif

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

### Verifing file existance ###

/usr/bin/mysecureshell                                                   [ OK ]
/usr/bin/sftp-who                                                        [ OK ]
/usr/bin/sftp-kill                                                       [ OK ]
/usr/bin/sftp-state                                                      [ OK ]
/usr/bin/sftp-admin                                                      [ OK ]
/usr/bin/sftp-verif                                                      [ OK ]
/usr/bin/sftp-user                                                       [ OK ]


### Verifing /etc/shells ###

/etc/shells contains /usr/bin/mysecureshell
[ OK ]


### Verifing rights ###

Verifing file rights of /etc/ssh/sftp_config                             [ OK ]
Verifing file rights of /usr/bin/sftp-who                                [ OK ]
Verifing file rights of /usr/bin/sftp-verif                              [ OK ]
Verifing file rights of /usr/bin/sftp-user                               [ OK ]
Verifing file rights of /usr/bin/sftp-kill                               [ OK ]
Verifing file rights of /usr/bin/sftp-state                              [ OK ]
Verifing file rights of /usr/bin/sftp-admin                              [ OK ]
Verifing file rights of /usr/bin/mysecureshell                       [ FAILED ]
Rights problems have been detected 0755 and should be 4755
Do you want to repair /usr/bin/mysecureshell file rights ? (Y/n)
y
Good rights (4755) reseted on /usr/bin/mysecureshell file                [ OK ]


### Verifing rotation logs ###

Rotation logs have been found
[ OK ]


### Verifing server status ###

Verifing server status (ONLINE)
[ OK ]


### Verifing server dependencies ###

Show only error(s) :


### Verifing server configuration ###

Show only error(s) :
Trying user: root


### All tests dones ###


root@scp:/etc/ssh# lsb_release -rd
Description:    Ubuntu 20.04.1 LTS
Release:        20.04
root@scp:/etc/ssh#

root@scp:/etc/ssh# apt-cache policy mysecureshell
mysecureshell:
  Installed: 2.0-2build1
  Candidate: 2.0-2build1
  Version table:
 *** 2.0-2build1 500
        500 http://nl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
     1.31 500
        500 https://www.hobby.nl/repo focal/main amd64 Packages

** Affects: mysecureshell (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908901

Title:
  Mysecureshell binary has wrong permission

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysecureshell/+bug/1908901/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to