Danek Duvall wrote:
On Wed, Aug 05, 2009 at 03:03:17PM -0400, Anurag Maskey wrote:
To add the new users and groups, I've modified 00/common/SUNWcnetr to
add the following lines:
add group groupname=netadm gid=65
add user username=netadm uid=16 group=netadm gos-field="Network Admin" \
home-dir=/ ftpuser=true
add user username=netcfg uid=17 group=netadm \
gos-field="Network Configuration Admin" home-dir=/
This seems okay, though "gos-field" should be "gcos-field".
good catch. etc/passwd did look strange after image-update with "&
Admin" as the name.
I added the 4 new *_attr files to the 119 directory. I copied
111/common/SUNWcs to 119/common/SUNWcs, but did not make any changes
to that file.
If you're not modifying a file, then there's no point in copying it. Or is
there a reason the build 118 version won't work?
Will try without making the copy. I thought that was necessary to make
copies to get it to read the new *_attr files because SUNWcs mention it.
I modified 119/SUNWfixes.prototype and added
e none etc/security/auth_attr 0644 root sys
e none etc/security/exec_attr 0644 root sys
e none etc/security/prof_attr 0644 root sys
e none etc/user_attr 0644 root sys
I also modified src/util/distro-import/Makefile so that
CACHED_FILES_119 contains the for *_attr files.
CACHED_FILES_119 = etc/user_attr etc/security/auth_attr
etc/security/prof_attr etc/security/exec_attr
You shouldn't be messing with CACHED_FILES anymore. The RBAC files are
pulled into SUNWcs with the "add file ..." construct, not via SUNWfixes.
"add file ..." finds the named file in the same search path that the import
files themselves are found in, so if you have updated versions of these
files, just put them in the build 119 directory, and you should be done.
"make 119/redist_import" failed saying it could not find the *_attr
files. "cat 119/*_attr <to-the-proto-directory>" was failing.
CACHED_FILES_119 is empty (unlike CACHED_FILES_<111a).
Also, I don't need to do the following?
I modified 119/SUNWfixes.prototype and added
e none etc/security/auth_attr 0644 root sys
e none etc/security/exec_attr 0644 root sys
e none etc/security/prof_attr 0644 root sys
e none etc/user_attr 0644 root sys
Anurag
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss