mkpasswdのインストール
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#author("2019-04-15T03:24:07+00:00","Group2","Group2")
[[hidekiwiki]]
#html{{
<meta name="description" content="https://fukumoto-tech.s...
<meta name="keywords" content="mkpasswd,yum,パスワード,ラ...
<link rel="canonical" href="https://fukumoto-tech.servebl...
<br>
<a href="https://it.blogmura.com/linux/"><img src="https:...
<!-- admax -->
<script src="https://adm.shinobi.jp/s/1a0429ab1f292195e9a...
<!-- admax -->
</html>
}}
CentOS7の環境下でも同一の手順となります。
**mkpasswdをインストールするには [#lcee814a]
yum -y install expect
と実行します。RPMForgeを常時有効化していない場合は
yum -y --enablerepo=rpmforge install expect
と実行します。
これで、ランダムなパスワードを生成してくれるmkpasswdのイ...
**mkpasswdの使い方 [#m377388b]
mkpasswdコマンドの使い方は
mkpasswd -l 20
と実行すると20桁のランダムな文字列を生成します。
**インストール時の表記例 [#x4d2dc6e]
[root@hoge ~]# yum -y install expect
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.tsukuba.wide.ad.jp
* extras: ftp.tsukuba.wide.ad.jp
* updates: ftp.tsukuba.wide.ad.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package expect.x86_64 0:5.44.1.15-2.el6 will be ins...
--> Processing Dependency: libtcl8.5.so()(64bit) for pac...
--> Running transaction check
---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================...
Package Arch ...
========================================================...
Installing:
expect x86_64 ...
Installing for dependencies:
tcl x86_64 ...
Transaction Summary
========================================================...
Install 2 Package(s)
Total download size: 2.2 M
Installed size: 4.9 M
Downloading Packages:
(1/2): expect-5.44.1.15-2.el6.x86_64.rpm ...
(2/2): tcl-8.5.7-6.el6.x86_64.rpm ...
--------------------------------------------------------...
Total ...
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:tcl-8.5.7-6.el6.x86_64 ...
Installing : expect-5.44.1.15-2.el6.x86_64 ...
Installed:
expect.x86_64 0:5.44.1.15-2.el6
Dependency Installed:
tcl.x86_64 1:8.5.7-6.el6
Complete!
終了行:
#author("2019-04-15T03:24:07+00:00","Group2","Group2")
[[hidekiwiki]]
#html{{
<meta name="description" content="https://fukumoto-tech.s...
<meta name="keywords" content="mkpasswd,yum,パスワード,ラ...
<link rel="canonical" href="https://fukumoto-tech.servebl...
<br>
<a href="https://it.blogmura.com/linux/"><img src="https:...
<!-- admax -->
<script src="https://adm.shinobi.jp/s/1a0429ab1f292195e9a...
<!-- admax -->
</html>
}}
CentOS7の環境下でも同一の手順となります。
**mkpasswdをインストールするには [#lcee814a]
yum -y install expect
と実行します。RPMForgeを常時有効化していない場合は
yum -y --enablerepo=rpmforge install expect
と実行します。
これで、ランダムなパスワードを生成してくれるmkpasswdのイ...
**mkpasswdの使い方 [#m377388b]
mkpasswdコマンドの使い方は
mkpasswd -l 20
と実行すると20桁のランダムな文字列を生成します。
**インストール時の表記例 [#x4d2dc6e]
[root@hoge ~]# yum -y install expect
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.tsukuba.wide.ad.jp
* extras: ftp.tsukuba.wide.ad.jp
* updates: ftp.tsukuba.wide.ad.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package expect.x86_64 0:5.44.1.15-2.el6 will be ins...
--> Processing Dependency: libtcl8.5.so()(64bit) for pac...
--> Running transaction check
---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================...
Package Arch ...
========================================================...
Installing:
expect x86_64 ...
Installing for dependencies:
tcl x86_64 ...
Transaction Summary
========================================================...
Install 2 Package(s)
Total download size: 2.2 M
Installed size: 4.9 M
Downloading Packages:
(1/2): expect-5.44.1.15-2.el6.x86_64.rpm ...
(2/2): tcl-8.5.7-6.el6.x86_64.rpm ...
--------------------------------------------------------...
Total ...
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:tcl-8.5.7-6.el6.x86_64 ...
Installing : expect-5.44.1.15-2.el6.x86_64 ...
Installed:
expect.x86_64 0:5.44.1.15-2.el6
Dependency Installed:
tcl.x86_64 1:8.5.7-6.el6
Complete!
ページ名: