When I set up my Debian 6, I was wondering, which users apart from root whose password I know can log into my system via SSH?
When I install Apache 2 a user called www-data gets created. Does this user have the right to log into my system via SSH? But if there was some default password for www-data everyone could log in, seems unlikely to me.
Where do I have a list which users are allowed to log into my system via SSH? Can't find anything in the ssh config files.
|
|
|||
|
|
|
Paradeepchhetri isn't exactly correct. Debian's unmodified
Thus, login via ssh would only work for users that have a populated password field in In the question example,
|
||||
|
|
|
By default, login is allowed for all users on Debian. You can change it by allowing certain users that can log into by editing As mentioned in the man page of sshd_config.
|
|||||
|
|
By default, After that, any user has to pass two checks:
SSH authentication means that either the user must have a valid password in Valid passwords are described further in the PAM account checks basically means that the account is not expired. You can check that using So to answer your questions, to my knowledge:
|
||||
|