The safest form of doing this would be to use adduser
like so:
$ adduser -r -s /bin/nologin subversion
NOTE: Be sure to include -s /sbin/nologin
to disable any login shell from being made available to the account.
Confirmation of setup
$ grep subversion /etc/passwd /etc/shadow
/etc/passwd:subversion:x:496:496::/home/subversion:/bin/nologin
/etc/shadow:subversion:!!:17232::::::
However there's no directory:
$ ll /home | grep subversion
$
Confirm that the account is otherwise usable:
$ sudo -u subversion whoami
subversion
$ sudo -u subversion date
Tue Mar 7 08:58:57 EST 2017
Removal
If you need to remove this account:
$ userdel subversion -r
userdel: subversion mail spool (/var/spool/mail/subversion) not found
userdel: subversion home directory (/home/subversion) not found
$
And confirm:
$ grep rtim-hc-user /etc/passwd /etc/shadow
$