如何创建系统用户

useradd -s /sbin/nologin -r nginx   //-r表示不创建加目录,表示创建的是系统用户