Mysecureshell binary has wrong permission

Bug #1908901 reported by Bas van den Dikkenberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysecureshell (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.