Chinaunix首页 | 论坛 | 博客
  • 博客访问: 379932
  • 博文数量: 120
  • 博客积分: 5051
  • 博客等级: 大校
  • 技术积分: 1255
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-03 01:25
文章分类

全部博文(120)

文章存档

2011年(2)

2010年(11)

2009年(28)

2008年(26)

2007年(53)

我的朋友

分类: LINUX

2008-11-02 14:29:20

今天在vmware里装了一台Cent OS的虚拟机,装好后发现没有帐号管理工具,如:
useradd groupadd passwd,寻思良久,结果发现相关的包没有装上.
 
[root@master yum.repos.d]# yum info shadow-utils (这个包装好后就会有帐号管理的工具)
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name   : shadow-utils
Arch   : i386
Epoch  : 2
Version: 4.0.3
Release: 60.RHEL4
Size   : 1.1 M
Repo   : installed
Summary: Utilities for managing accounts and shadow password files.
Description:
 The shadow-utils package includes the necessary programs for
converting UNIX password files to the shadow password format, plus
programs for managing user and group accounts. The pwconv command
converts passwords to the shadow password format. The pwunconv command
unconverts shadow passwords and generates an npasswd file (a standard
UNIX password file). The pwck command checks the integrity of password
and shadow files. The lastlog command prints out the last login times
for all users. The useradd, userdel, and usermod commands are used for
managing user accounts. The groupadd, groupdel, and groupmod commands
are used for managing group accounts.

Available Packages
Name   : shadow-utils
Arch   : i386
Epoch  : 2
Version: 4.0.3
Release: 66.RHEL4
Size   : 594 k
Repo   : base
Summary: Utilities for managing accounts and shadow password files.
Description:
 The shadow-utils package includes the necessary programs for
converting UNIX password files to the shadow password format, plus
programs for managing user and group accounts. The pwconv command
converts passwords to the shadow password format. The pwunconv command
unconverts shadow passwords and generates an npasswd file (a standard
UNIX password file). The pwck command checks the integrity of password
and shadow files. The lastlog command prints out the last login times
for all users. The useradd, userdel, and usermod commands are used for
managing user accounts. The groupadd, groupdel, and groupmod commands
are used for managing group accounts.
 
 
[root@master yum.repos.d]# yum info passwd (这个包装好后就有passwd)
Setting up repositories
Reading repository metadata in from local files
Installed Packages
Name   : passwd
Arch   : i386
Version: 0.68
Release: 10.1
Size   : 21 k
Repo   : installed
Summary: The passwd utility for setting/changing passwords using PAM.
Description:
 The passwd package contains a system utility (passwd) which sets
and/or changes passwords, using PAM (Pluggable Authentication
Modules).
To use passwd, you should have PAM installed on your system.
阅读(522) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~