Mysecureshell binary has wrong permission
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
#######
#######
### Verifing file existance ###
/usr/bin/
/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/
### Verifing rights ###
Verifing file rights of /etc/ssh/
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/
Rights problems have been detected 0755 and should be 4755
Do you want to repair /usr/bin/
y
Good rights (4755) reseted on /usr/bin/
### 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://
100 /var/lib/
1.31 500
500 https:/