- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- make passwd is not working
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 10:36 AM
02-11-2002 10:36 AM
make passwd is not working
We have passwd file on master. Whenever we change anything on passwd file we run /var/yp/make passwd command and it will make new map push maps to the secondary
From a week whenever I type make passwd it says
`passwd' is up to date
even if I have add new user or delete a line or touch a file. I even have reboot the server.
If I use make -u passwd it works fine.
I was on vacation for a month and can't change anything but I can's say about others.
/var/yp/Makefile is not been changed.
What should I look for now.
Thanks in advance
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 10:42 AM
02-11-2002 10:42 AM
Re: make passwd is not working
I suspect that the timestamps have become corrupt or invalid. On the master server, cd to /var/yp; cd to the domain directory, e.g. mydomain, rm *.time; cd /var/yp; make.
That should push all the maps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 10:51 AM
02-11-2002 10:51 AM
Re: make passwd is not working
I did that too.
#cd /var/yp/domainame
#rm passwd.time
#make passwd (same error message and it did not create a new passwd.time file)
So I create passwd.time and run make passwd same error.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 10:58 AM
02-11-2002 10:58 AM
Re: make passwd is not working
It is doing same with all other maps. like aliases, netgroup etc...
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 11:02 AM
02-11-2002 11:02 AM
Re: make passwd is not working
1)Check all your yp daemons if it running properly.
2)Check the syntax of rpc.yppasswdd.
3) Check entries in /etc/rc.config.d/namesvrs
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 11:18 AM
02-11-2002 11:18 AM
Re: make passwd is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 11:21 AM
02-11-2002 11:21 AM
Re: make passwd is not working
All daemons are running.
I run make -d passwd and following are the last output.
Reading Makefile
setvar: B = -b noreset = 0 envflg = 0 Mflags = 040001
setvar: DIR = /etc noreset = 0 envflg = 0 Mflags = 040001
setvar: DOM = `domainname` noreset = 0 envflg = 0 Mflags = 040001
setvar: NOPUSH = "" noreset = 0 envflg = 0 Mflags = 040001
setvar: ALIASES = /etc/mail/aliases noreset = 0 envflg = 0 Mflags = 040001
setvar: YPDIR = /usr/sbin noreset = 0 envflg = 0 Mflags = 040001
setvar: YPDBDIR = /var/yp noreset = 0 envflg = 0 Mflags = 040001
setvar: YPPUSH = $(YPDIR)/yppush -v noreset = 0 envflg = 0 Mflags = 040001
setvar: MAKEDBM = $(YPDIR)/makedbm noreset = 0 envflg = 0 Mflags = 040001
setvar: REVNETGROUP = $(YPDIR)/revnetgroup noreset = 0 envflg = 0 Mflags = 040001
setvar: STDETHERS = $(YPDIR)/stdethers noreset = 0 envflg = 0 Mflags = 040001
setvar: STDHOSTS = $(YPDIR)/stdhosts noreset = 0 envflg = 0 Mflags = 040001
setvar: MKNETID = $(YPDIR)/mknetid noreset = 0 envflg = 0 Mflags = 040001
setvar: MKALIAS = $(YPDIR)/mkalias noreset = 0 envflg = 0 Mflags = 040001
setvar: PWFILE = $(DIR)/passwd noreset = 0 envflg = 0 Mflags = 040001
setvar: CHKPIPE = || ( echo "NIS make terminated:" $@ 1>&2; kill -TERM 0 ) noreset = 0 envflg = 0 Mflags = 040001
doname(passwd,0)
TIME(passwd)=1013023676
setvar: @ = passwd noreset = 0 envflg = 0 Mflags = 040001
setvar: @ = noreset = 0 envflg = 0 Mflags = 040001
look for explicit deps. 0
look for implicit rules. 0
`passwd' is up to date.
setvar: < = noreset = 0 envflg = 0 Mflags = 040001
setvar: * = noreset = 0 envflg = 0 Mflags = 040001
Can it be time y2k problem?
I have y2k patch installed.
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 11:53 AM
02-11-2002 11:53 AM
Re: make passwd is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 12:09 PM
02-11-2002 12:09 PM
Re: make passwd is not working
I have consider that and that is why I have reboot the system. Does it clear things up?
#ls -laurt /etc/passwd /var/yp/domainname/passwd.time
-rw-r--r-- 1 root sys 0 Feb 11 12:54 /var/yp/domainname/passwd.time
-rw-r--r-- 1 root sys 35835 Feb 11 14:10 /etc/passwd
Still I have error.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 12:28 PM
02-11-2002 12:28 PM
Re: make passwd is not working
Again, I would remove all the .time files and do dont recreate one simply cd to /var/yp and do a make. I doubt that rebooting will fix anything but it can't hurt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 01:24 PM
02-11-2002 01:24 PM
Re: make passwd is not working
Reboot is not fixing my problem. Domain name is hou-vdgc. passwd is in /etc.
I didn't recreate passwd.time when I run make passwd.It is not working yet.
Sachin Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 02:13 PM
02-11-2002 02:13 PM
Re: make passwd is not working
Do the following and it should help to solve the problem.
# pwconv
This will update passwd and shadow file with latest password information.
# /var/yp/make passwd
Now it will update the maps.
Let me know your feedback.
R.M.Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 02:27 PM
02-11-2002 02:27 PM
Re: make passwd is not working
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 02:43 PM
02-11-2002 02:43 PM
Re: make passwd is not working
./ypmake passwd
??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2002 02:55 PM
02-11-2002 02:55 PM
Re: make passwd is not working
I try that too. No luck
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2002 07:16 AM
02-12-2002 07:16 AM
Re: make passwd is not working
If I convert the timestamp displayed by your make, 1013023676, that converts to Wed. Feb 6 19:27:56 2002 UTC which does not match the timestamp of your ls -l's.