madadamay ba si nobody dito ?Isang option pa, use the lock method rather than change shell method. Either way will work. Pero mas preferred ko ito.
Code:while IFS=":" read -r users x uid x; do { [[ $uid -ge 1000 ]] && [[ $uid -lt 65534 ]]; } && usermod -L "$users"; done </etc/passwd [/code