sample.sh
#!/bin/sh -v
whatis passwd
man 1 passwd | head -n 10
echo "------------------------------"
man 5 passwd | head -n 10
passwd (1) - ユーザパスワードを変更する #usercommand
sslpasswd (1ssl) - compute password hashes
passwd (5) - password file #file
:
:
PASSWD(1) General Commands Manual PASSWD(1)
名
passwd - ユーザパスワードを変更する
書
passwd [-k] [-l] [-u [-f]] [-d] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [--stdin] [username]
------------------------------
PASSWD(5) Linux Programmer's Manual PASSWD(5)
NAME
passwd - password file
DESCRIPTION
The /etc/passwd file is a text file that describes user login accounts for the system. It should have read permission allowed for all users (many utilities, like ls(1) use it to map user IDs to
usernames), but write access only for the superuser.