Mercurial > illumos > illumos-gate
changeset 12896:8ed2c2ace7da
PSARC/2010/253 EOL and interface removal of passmgmt(1M)
6968860 implement PSARC/2010/253 EOL and interface removal of passmgmt(1M)
author | gww <gary.winiger@oracle.com> |
---|---|
date | Wed, 21 Jul 2010 12:23:53 -0700 |
parents | 5c6de9ad51b9 |
children | dc96b005136b |
files | usr/src/cmd/oamuser/inc/users.h usr/src/cmd/passmgmt/Makefile usr/src/cmd/ypcmd/yppasswd/Makefile usr/src/lib/libsecdb/exec_attr.txt usr/src/pkg/manifests/SUNWcs.mf |
diffstat | 5 files changed, 7 insertions(+), 18 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/oamuser/inc/users.h Wed Jul 21 17:59:37 2010 +0200 +++ b/usr/src/cmd/oamuser/inc/users.h Wed Jul 21 12:23:53 2010 -0700 @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved. */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ @@ -59,7 +58,7 @@ #define WARN_BAD_PROJ_NAME 0x20 #define WARN_LOGGED_IN 0x40 -/* Exit codes from passmgmt(1) */ +/* Exit codes from passmgmt */ #define PEX_SUCCESS 0 #define PEX_NO_PERM 1 #define PEX_SYNTAX 2 @@ -85,5 +84,5 @@ extern void putgrent(struct group *, FILE *); /* passmgmt */ -#define PASSMGMT "/usr/bin/passmgmt"; +#define PASSMGMT "/usr/lib/passmgmt"; #endif /* _USERS_H */
--- a/usr/src/cmd/passmgmt/Makefile Wed Jul 21 17:59:37 2010 +0200 +++ b/usr/src/cmd/passmgmt/Makefile Wed Jul 21 12:23:53 2010 -0700 @@ -30,9 +30,7 @@ include ../Makefile.cmd FILEMODE= 0555 -RELSBIN= ../sbin ROOTFILE= $(ROOTETC)/$(FILE) -ROOTSYMLINK= $(ROOTBIN)/$(PROG) # conditional assignment $(ROOTFILE):= FILEMODE= $(LIBFILEMODE) @@ -45,10 +43,7 @@ XGETFLAGS= -a -x $(PROG).xcl -install: all $(ROOTUSRSBINPROG) $(ROOTFILE) $(ROOTSYMLINK) - -$(ROOTSYMLINK): - -$(RM) $@; $(SYMLINK) $(RELSBIN)/$(PROG) $@ +install: all $(ROOTLIBPROG) $(ROOTFILE) # datemsk is generated from datemsk.template because of a side-effect of # SCCS. Some of the datemsk format strings include "%<letter>%", which
--- a/usr/src/cmd/ypcmd/yppasswd/Makefile Wed Jul 21 17:59:37 2010 +0200 +++ b/usr/src/cmd/ypcmd/yppasswd/Makefile Wed Jul 21 12:23:53 2010 -0700 @@ -19,11 +19,10 @@ # CDDL HEADER END # # -# Copyright 2009 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. +# Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. # -NETYPPROG = rpc.yppasswdd # pwconv passmgmt +NETYPPROG = rpc.yppasswdd DEFAULTFILES = yppasswdd.dfl PROG = $(NETYPPROG) @@ -56,8 +55,6 @@ COMMONOBJ = yppasswdxdr.o yplckpwdf.o RPCYPPASSWDDOBJ = yppasswdd.o changepasswd.o -#YPPWCONVOBJ = pwconv.o -#YPPASSMGMTOBJ = passmgmt.o # # Objects shared between all the major components
--- a/usr/src/lib/libsecdb/exec_attr.txt Wed Jul 21 17:59:37 2010 +0200 +++ b/usr/src/lib/libsecdb/exec_attr.txt Wed Jul 21 12:23:53 2010 -0700 @@ -298,7 +298,6 @@ User Management:solaris:cmd:::/usr/sbin/groupdel:uid=0 User Management:solaris:cmd:::/usr/sbin/groupmod:uid=0 User Security:suser:cmd:::/usr/bin/passwd:uid=0 -User Security:solaris:cmd:::/usr/sbin/passmgmt:uid=0 User Security:suser:cmd:::/usr/sbin/pwck:euid=0 User Security:suser:cmd:::/usr/sbin/pwconv:euid=0 DAT Administration:solaris:cmd:::/usr/sbin/datadm:euid=0
--- a/usr/src/pkg/manifests/SUNWcs.mf Wed Jul 21 17:59:37 2010 +0200 +++ b/usr/src/pkg/manifests/SUNWcs.mf Wed Jul 21 12:23:53 2010 -0700 @@ -1398,7 +1398,7 @@ file path=usr/sbin/nscd mode=0555 file path=usr/sbin/nwamadm mode=0555 file path=usr/sbin/nwamcfg mode=0555 -file path=usr/sbin/passmgmt group=sys mode=0555 +file path=usr/lib/passmgmt group=sys mode=0555 file path=usr/sbin/pmadm group=sys mode=0555 file path=usr/sbin/praudit mode=0555 $(i386_ONLY)file path=usr/sbin/prtdiag group=sys mode=2755 @@ -2642,7 +2642,6 @@ link path=usr/bin/cachefsstat target=../lib/fs/cachefs/cachefsstat link path=usr/bin/df target=../sbin/df link path=usr/bin/jsh target=ksh93 -link path=usr/bin/passmgmt target=../sbin/passmgmt link path=usr/bin/pwconv target=../sbin/pwconv link path=usr/bin/rmail target=./mail link path=usr/bin/sh target=$(ARCH32)/ksh93