Ask a Question related to Sun Solaris, Design and Development.
-
Marc #1
Adding user with supplementary groups within jumpstart installation
Hello,
When I am jumpstarting my servers (Solaris 9) I am adding system
administrators account at the end of the finish script, for that I use
the following command in my finish script:
chroot ${BASEDIR} /usr/sbin/useradd -u 300 -g sysstaff -G
named,mysql,openldap -c 'A sysadmin account' -d /home /asysadmin -s
/usr/b
in/bash asysadmin
It does work except for the "-G" option, strangely the sysadmin account
doesn't get added to the specified groups, in the case named, mysql and
openldap. These groups are already added to the groups file at this
stage by their respective packages so it can't be because the groups are
not available.... What also wonders me is that in
/var/sadm/system/logs/finish.log I don't see any error messages or such
from useradd.
Does anyone have an idea what could be wrong ? This is really strange to
me....
Thanks
Regards
Marc Guest
-
Specify more than 1 supplementary group for a user ??
Whenever I do: usermod -G groupname username ..... any existing supplementary group of username, as shown from /etc/group, gets removed and... -
Supplementary groups
Is there a function for setting supllementary groups? I don't see a method documented in Process. I want the equivalent of man (2) setgroups: ... -
Webstart starting after jumpstart installation at first reboot
Hello, I am installing Solaris 9 using Jumpstart to quickly install servers without doing anything except typing "boot net - install", the... -
Detecting Jumpstart installation from script
Hello, I've got a script with functions which is run during the finish script (in the jumpstart installation) and also during a normal reboot.... -
adding package IBM named LUM on Solaris 8 with jumpstart procedure
On Thu, 26 Jun 2003 15:10:11 +0200, Faivre Dominique wrote: I have seen the same behaviour with IBM's WebSphere packages for Solaris. I suspect... -
Marc #2
Re: Adding user with supplementary groups within jumpstart installation
Marc wrote:
Don't bother, I've found the solution !> Does anyone have an idea what could be wrong ? This is really strange to
> me....
Marc Guest



Reply With Quote

