10-14-2008, 01:12 AM
/bin/false will work as well. either way, its better to get into the practice of using usermod rather than editing /etc/passwd directly. command is usermod -s, i.e.:
usermod -s /bin/false username
usermod -s /bin/false username