KTCHost Official Web Hosting Forum

Technical Support => VPS Support => Topic started by: Anant on February 24, 2017, 11:24:15 AM

Title: W and Who command not working on VPS
Post by: Anant on February 24, 2017, 11:24:15 AM
While working on VPS , W and Who command not working but all other commands working properly.

Fix :

To solve this problem edit /etc/ssh/sshd_config file and add "UsePAM no" and "UseLogin yes" in that file. Now the modified part of the configuration file should look like as:

Quote
UsePAM no
#UsePAM yes
UseLogin yes

Now restart SSHD service and execute the w and who command.