Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix nispasswd command

Quick links

About nispasswd
Syntax
Examples
Related commands
Linux / Unix main page

About nispasswd

Change NIS+ password information.

Syntax

nispasswd [-a] [-g] [-h] [-s] [-l] [-f] [-n min] [-x max] [-w warn] [ -D domainname ] [-d [ username ]

-a Show the password attributes for all entries. This will show only the entries in the NIS+ passwd table in the local domain that the invoker is authorized to "read".
-g Change the gecos (finger) information.
-h Change the home directory.
-s Change the login shell. By default, only the NIS+ administrator can change the login shell. User will be prompted for the new login shell.
-l Locks the password entry for username. Subsequently, login would disallow logins with this NIS+ password entry.
-f Force the user to change password at the next login by expiring the password for username.
-n min Set minimum field for username. The min field contains the minimum number of days between password changes for username. If min is greater than max, the user may not change the password. Always use this option with the -x option, unless max is set to -1 (aging turned off). In that case, min need not be set.
-x max Set maximum field for username. The max field contains the number of days that the password is valid for username. The aging for username will be turned off immediately if max is set to -1. If it is set to 0, then the user is forced to change the password at the next login session and aging is turned off.
-w warn Set warn field for username. The warn field contains the number of days before the password expires that the user will be warned whenever he or she attempts to login.
-D domainname Consult the passwd.org_dir table in domainname . If this option is not specified, the default domainname returned by nis_local_directory() will be used. This domainname is the same as that returned by domainname.
-d username Display password attributes for the caller or the user specified if the invoker has the right
privileges.
username User who's information is needed

Examples

nispasswd myuser - would display the user myuser NIS+ information. Note you must have rights to do this, generally requires super user.

Related commands

keylogin
login
nistbladm
passwd
rlogin

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope