LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 650|回复: 4

chpasswd在哪个包中?

[复制链接]
发表于 2005-1-1 12:26:19 | 显示全部楼层 |阅读模式
我找了util-linux,coreutils,binutils等几个包,都没找到,但可以在util-linux中找到passwd的实现
论坛也搜过了,没收获
哪位大虾可以告诉我
thx
发表于 2005-1-1 12:42:12 | 显示全部楼层
Shadow-4.0.4.1

chage

Used to change the maximum number of days between obligatory password changes

chfn

Used to change a user's full name and other info

chpasswd

Used to update the passwords of an entire series of user accounts

chsh

Used to change a user's default login shell

expiry

Checks and enforces the current password expiration policy

faillog

Is used to examine the log of login failures, to set a maximum number of failures before an account is blocked, or to reset the failure count

gpasswd

Is used to add and delete members and administrators to groups

groupadd

Creates a group with the given name

groupdel

Deletes the group with the given name

groupmod

Is used to modify the given group's name or GID

groups

Reports the groups of which the given users are members

grpck

Verifies the integrity of the group files /etc/group and /etc/gshadow

grpconv

Creates or updates the shadow group file from the normal group file

grpunconv

Updates /etc/group from /etc/gshadow and then deletes the latter

lastlog

Reports the most recent login of all users or of a given user

login

Is used by the system to let users sign on

logoutd

Is a daemon used to enforce restrictions on log-on time and ports

mkpasswd

Generates random passwords

newgrp

Is used to change the current GID during a login session

newusers

Is used to create or update an entire series of user accounts

passwd

Is used to change the password for a user or group account

pwck

Verifies the integrity of the password files /etc/passwd and /etc/shadow

pwconv

Creates or updates the shadow password file from the normal password file

pwunconv

Updates /etc/passwd from /etc/shadow and then deletes the latter

sg

Executes a given command while the user's GID is set to that of the given group

su

Runs a shell with substitute user and group IDs

useradd

Creates a new user with the given name, or updates the default new-user information

userdel

Deletes the given user account

usermod

Is used to modify the given user's login name, User Identification (UID), shell, initial group, home directory, etc.

vigr

Edits the /etc/group or /etc/gshadow files

vipw

Edits the /etc/passwd or /etc/shadow files

libshadow

Contains functions used by most programs in this package
发表于 2005-1-1 14:39:56 | 显示全部楼层
shadow-utils
 楼主| 发表于 2005-1-1 17:53:34 | 显示全部楼层
thank you two
i've got it
 楼主| 发表于 2005-1-1 18:04:43 | 显示全部楼层
咦,奇怪
util-linux和shadow中都有login和passwd, 而且不完全一样
为什么要在两个包中实现呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表