偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

passwd 中文man頁面

系統(tǒng)
passwd指令讓用戶可以更改自己的密碼,而系統(tǒng)管理者則能用它管理系統(tǒng)用戶的密碼。只有管理者可以指定用戶名稱,一般用戶只能變更自己的密碼。

passwd(password)

功能說明:設(shè)置密碼。

語法:passwd[-dklS][-u<-f>][用戶名稱]

補充說明:passwd指令讓用戶可以更改自己的密碼,而系統(tǒng)管理者則能用它管理系統(tǒng)用戶的密碼。只有管理者可以指定用戶名稱,一般用戶只能變更自己的密碼。

參數(shù)

-d刪除密碼。本參數(shù)僅有系統(tǒng)管理者才能使用。

-f強制執(zhí)行。

-k設(shè)置只有在密碼過期失效后,方能更新。

-l鎖住密碼。

-s列出密碼的相關(guān)信息。本參數(shù)僅有系統(tǒng)管理者才能使用。

-u解開已上鎖的帳號。

#p#

NAME

passwd - update a user's authentication tokens(s)

SYNOPSIS

passwd [-k] [-l] [-u [-f]] [-d] [-n mindays] [-x maxdays] [-w warndays] [-i inactivedays] [-S] [--stdin] [username]

DESCRIPTION

Passwd is used to update a user's authentication token(s).

Passwd is configured to work through the Linux-PAM API. Essentially, it initializes itself as a "passwd" service with Linux-PAM and utilizes configured password modules to authenticate and then update a user's password.

A simple entry in the Linux-PAM configuration file for this service would be: 

 # passwd service entry that does strength checking of

 # a proposed password before updating it.

 #

 passwd password requisite \

             /usr/lib/security/pam_cracklib.so retry=3

 passwd password required \

             /usr/lib/security/pam_unix.so use_authtok

 #

Note, other module-types are not required for this application to function correctly.

OPTIONS

-k
The option, -k, is used to indicate that the update should only be for expired authentication tokens (passwords); the user wishes to keep their non-expired tokens as before.
-l
This option is used to lock the specified account and it is available to root only. The locking is performed by rendering the encrypted password into an invalid string (by prefixing the encrypted string with an !).
--stdin
This option is used to indicate that passwd should read the new password from standard input, which can be a pipe.
-u
This is the reverse of the -l option - it will unlock the account password by removing the ! prefix. This option is available to root only. By default passwd will refuse to create a passwordless account (it will not unlock an account that has only "!" as a password). The force option -f will override this protection.
-d
This is a quick way to disable a password for an account. It will set the named account passwordless. Available to root only.
-n
This will set the minimum password lifetime, in days, if the user's account supports password lifetimes. Available to root only.
-x
This will set the maximum password lifetime, in days, if the user's account supports password lifetimes. Available to root only.
-w
This will set the number of days in advance the user will begin receiving warnings that her password will expire, if the user's account supports password lifetimes. Available to root only.
-i
This will set the number of days which will pass before an expired password for this account will be taken to mean that the account is inactive and should be disabled, if the user's account supports password lifetimes. Available to root only.
-S
This will output a short information about the status of the password for a given account. Available to root user only.

Remember the following two principles

Protect your password.
Don't write down your password - memorize it. In particular, don't write it down and leave it anywhere, and don't place it in an unencrypted file! Use unrelated passwords for systems controlled by different organizations. Don't give or share your password, in particular to someone claiming to be from computer support or a vendor. Don't let anyone watch you enter your password. Don't enter your password to a computer you don't trust or if things Use the password for a limited time and change it periodically.
Choose a hard-to-guess password.
passwd will try to prevent you from choosing a really bad password, but it isn't foolproof; create your password wisely. Don't use something you'd find in a dictionary (in any language or jargon). Don't use a name (including that of a spouse, parent, child, pet, fantasy character, famous person, and location) or any variation of your personal or account name. Don't use accessible information about you (such as your phone number, license plate, or social security number) or your environment. Don't use a birthday or a simple pattern (such as backwards, followed by a digit, or preceded by a digit. Instead, use a mixture of upper and lower case letters, as well as digits or punctuation. When choosing a new password, make sure it's unrelated to any previous password. Use long passwords (say 8 characters long). You might use a word pair with punctuation inserted, a passphrase (an understandable sequence of words), or the first letter of each word in a passphrase.

 

These principles are partially enforced by the system, but only partly so. Vigilence on your part will make the system much more secure.

EXIT CODE

On successful completion of its task, passwd will complete with exit code 0. An exit code of 1 indicates an error occurred. Textual errors are written to the standard error stream.

CONFORMING TO


Linux-PAM (Pluggable Authentication modules for Linux).
Note, if your distribution of Linux-PAM conforms to the Linux Filesystem Standard, you may find the modules in /lib/security/ instead of /usr/lib/security/, as indicated in the example.

FILES


/etc/pam.d/passwd - the Linux-PAM configuration file

BUGS

None known.

SEE ALSO

pam(8), and pam_chauthok(2).

責(zé)任編輯:韓亞珊 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2011-08-25 10:37:16

passwd中文man

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 18:38:37

vfprintf中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-16 10:21:13

setconsole中文man

2011-08-24 17:06:42

NOTIFY中文man

2011-08-18 19:21:18

info中文man

2011-08-16 09:32:01

quotaoff中文man

2011-08-16 09:34:06

quotaon中文man

2011-08-16 09:03:18

umount中文man

2011-08-11 17:21:47

chattr中文man

2011-08-23 16:37:18

smbspool中文man

2011-08-23 13:27:58

losetup中文man

2011-08-24 15:35:52

hier中文man

2011-08-25 14:26:01

read中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-25 14:46:57

bindtextdom中文man
點贊
收藏

51CTO技術(shù)棧公眾號