I just added a Linux user and checked the contents of /etc/passwd by issuing
It's to find out which users have shell access.
It showed me 2 user accounts that had shell access.
These 2 users (like many others) have been migrated several times and are Plesk accounts for about 5 years.
Currently they are running on a Plesk 11.5.3 server.
These are the administrators of merely a site and these accounts are normally not used.
One account has the opening shell "/usr/local/psa/bin/chrootsh" and the other one has "/bin/sh""
I can of course change both to "/bin/false", but I would like to know how it ever got this way.
I have checked both accounts using the PSA and I can't find any additional SSH access there.
Anyone knows which settings I should check?
It's to find out which users have shell access.
Code:
grep ':/bin/.*sh$' /etc/passwd
It showed me 2 user accounts that had shell access.
These 2 users (like many others) have been migrated several times and are Plesk accounts for about 5 years.
Currently they are running on a Plesk 11.5.3 server.
These are the administrators of merely a site and these accounts are normally not used.
One account has the opening shell "/usr/local/psa/bin/chrootsh" and the other one has "/bin/sh""
I can of course change both to "/bin/false", but I would like to know how it ever got this way.
I have checked both accounts using the PSA and I can't find any additional SSH access there.
Anyone knows which settings I should check?