|
|
|
|
UGU: Unix Guru Universe - Unix Tip #4532- August 7, 2024
- Home : Help
: Today's Tip
Unix Tip #4532- August 7, 2024
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
4531
- TAKE NOTES AT 3AM
4530
- HOW MANY COMMANDS HAVE I RUN?
4529
- VULNERABILITIES IN UNIX
4528
- METAVALUES FROM A SHELL SCRIPT
4527
- 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 |
|
|
|
|