|
|
|
|
UGU: Unix Guru Universe - Unix Tip #4104- May 7, 2012
- Home : Help
: Today's Tip
Unix Tip #4104- May 7, 2012
BE CAREFUL WITH NIS+
To rebuild your /etc/passwd file use:
nisaddent -rv -f /etc/passwd passwd
HOWEVER, if you perform the above command
you must perform the following command on
the shadow file:
nisaddent -mv -f /etc/shadow shadow
DO NOT USE the nisaddent -rv -f command on
the /etc/shadow file, this command will confuse
replica servers and lock everyone off of a system.
NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.
LAST 5 TIPS
4103
- TAKE NOTES AT 3AM
4102
- HOW MANY COMMANDS HAVE I RUN?
4101
- VULNERABILITIES IN UNIX
4100
- METAVALUES FROM A SHELL SCRIPT
4099
- WHAT TIME IS IT REMOTELY?
I want to
SUBSCRIBE
and get a UGU Tip everyday.
I want to
UNSUBSCRIBE
and NOT get a UGU Tip everyday.
If you have a UNIX TIP let us know, we just may use it:
(All tips become the property of the Unix Guru Universe)
|
|
|
Copyright 1994-2024 Unix Guru Universe |
|
|
|
|