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

11.02.2008
| 17232 views |
  • 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