2. Now put the “*” in the second field in the “/etc/passwd”. i.e. change “x” with “*”.
[root@kalwa1 ~]# cat /etc/passwd|grep -i uxtechno uxtechno:*:500:500::/home/uxtechno:/bin/bash [root@kalwa1 ~]#
This change makes the user uxtechno unable to login with the system. System will simple say access denied.
login as: uxtechno firstname.lastname@example.org's password: Access denied