Skip to content

Latest commit

 

History

History
74 lines (69 loc) · 3.73 KB

cix-shadow-utils.org

File metadata and controls

74 lines (69 loc) · 3.73 KB

shadow-utils

|≣|

Author(s)(all…)
Maintainer(s)Tomasz Kłoczko,
Nicolas François
Released2005
Sourceshadow.git
Homepageshadow-utils.web

The shadow-utils package includes the necessary programs for converting UNIX password files to the shadow password format, plus programs for managing user


Index

| CMD       | MAN  | DESCRIPTION                                               |
| chage     | (1)  | change user password expiry information                   |
| gpasswd   | (1)  | administer /etc/group and /etc/gshadow                    |
| lastlog   | (8)  | reports the most recent login of all users or of a giv... |
| newgidmap | (1)  | set the gid mapping of a user namespace                   |
| newgrp    | (1)  | log in to a new group                                     |
| newgrp    | (1p) | change to a new group                                     |
| newuidmap | (1)  | set the uid mapping of a user namespace                   |
| sg        | (1)  | execute command as different group ID                     |
| adduser   | (8)  | create a new user or update default new user information  |
| chgpasswd | (8)  | update group passwords in batch mode                      |
| chpasswd  | (8)  | update passwords in batch mode                            |
| groupadd  | (8)  | create a new group                                        |
| groupdel  | (8)  | delete a group                                            |
| groupmems | (8)  | administer members of a user's primary group              |
| groupmod  | (8)  | modify a group definition on the system                   |
| grpck     | (8)  | verify integrity of group files                           |
| grpconv   | (8)  | convert to and from shadow passwords and groups           |
| grpunconv | (8)  | convert to and from shadow passwords and groups           |
| newusers  | (8)  | update and create new users in batch                      |
| pwck      | (8)  | verify integrity of password files                        |
| pwconv    | (8)  | convert to and from shadow passwords and groups           |
| pwunconv  | (8)  | convert to and from shadow passwords and groups           |
| useradd   | (8)  | create a new user or update default new user information  |
| userdel   | (8)  | delete a user account and related files                   |
| usermod   | (8)  | modify a user account                                     |
| vigr      | (8)  | edit the password, group, shadow-password or shadow-gr... |
| vipw      | (8)  | edit the password, group, shadow-password or shadow-gr... |

Receipts

gpasswd

gpasswd::examples

gpasswd-170111224028

add current user to a “docker” group:

   ~# gpasswd - ${USER} docker

usermod

usermod::options

usermod::examples

usermod-170920230059

generate a hashed password in format $&lt;ID&gt;$&lt;SALT>$<HASH>:

   ~# usermod -p $(echo PASSWORD | openssl passwd -1 -stdin) username

openssl