This shows you the differences between two versions of the page.
— |
simple_user_handling [2011/06/01 12:58] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Simple user handling ====== | ||
+ | |||
+ | Create user, user directory and add comment: | ||
+ | useradd -c "Comment" -m <username> | ||
+ | | ||
+ | Force change of password at next login: | ||
+ | chage -d 0 <username> | ||
+ | | ||
+ | Force locking of user account: | ||
+ | passwd -l <username> | ||
+ | | ||
+ | |||