Книги автора: Fedora™ Unleashed, 2008 edition
/ Книги автора: Fedora™ Unleashed, 2008 edition
/ honorato bonafe
Книга: Fedora™ Unleashed, 2008 edition
Changing Passwords in a Batch
Changing Passwords in a Batch
On a large system, there might be times when a large number of users and their pass words need some attention. The super user can change passwords in a batch by using the chpasswd
command, which accepts input as a name/password pair per line in the following form:
# chpasswd username:password
You can change passwords en masse by redirecting a list of name and password pairs to the command. An appropriate shell script can be constructed with the information gleaned from this chapter.
However, Fedora also provides the newusers
command to add users in a batch from a text file. This command also allows a user to be added to a group, and a new directory can be added for the user, too.
Оглавление статьи/книги
Похожие страницы
- Managing Passwords
- Managing Password Security for Users
- Shadow Passwords
- Temporarily Changing User Identity with the su Command
- Changing Runlevels
- Using at and batch to Schedule Tasks for Later
- Passwords and Physical Security
- Changing Directories with cd
- Changing File Access Permissions with chmod
- Article Batching
- Changing to NNRP Reader Mode
- Changing drive types