Linux change user shell /bin/false by usermod -s /sbin/nologin myuserusermod -s /sbin/nologin myuser Please follow and like us: