I am trying to change the home directory of a user. using
usermod ravishshankar --home /var/www/domainname/public_html/ but get
usermod: user username is currently used by process 1378 I try to kill pid 1378 but get bash: kill: pid: arguments must be process or job IDs
I tried pkill -STOP -u user but still get process 8009 in user by the user.
pkill -u usernameand then run theusermodcommand.SIGSTOPpauses a process: the process will still exist.