How can I create a non-login user?
Problem
I'd like to create a user and a group both called on a RHEL 5 system. I looked at the man page for and I guess the command would be just be... However, not sure how to avoid creating a home dir. Also, I don't want it to be a user that can log in to the system. The main purpose is just to provide an owner for a SVN repository.
Error Output
useradd subversion
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How can I create a non-login user?
You can use the following command: For more info, check manual pages with this command: You will find in this documentation the following flag that can be used for your purpose. The flag will create a system user - one which does not have a password, a home dir and is unable to login.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix