DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Dzmitry has posted 1 posts at DZone. View Full User Profile

Create User With Home Directory In OpenSUSE

  • submit to reddit
        Adds new user testuser
with primary group - users
home directory - /home/testuser
login name - testuser
password - testpwd

useradd -g users -p testpwd -d /home/testuser -m testuser