Hi Amerjit,
Thank you so much for your suggestion.
I could manually create dp7adm using sudo but still the -G "dba" report below ERROR:
sudo usermod -G "dba" dp7adm
Cannot modify /etc/group file, /etc/passwd was modified
HP document explains the error message:
NIS
The usermod command is aware of NIS user and group entries. Only
local users and groups may be modified with this command. Attempts to
modify an NIS user or group will result in an error. NIS users and
groups must be administered from the NIS server. This command may
fail with the error
login x does not exist
(return value 6) if the user specified is an NIS user (see passwd(4)).
However, NIS users are checked when verifying uniqueness of the new
UID or the new user name. Also, the error
Cannot modify /etc/group file, /etc/passwd was modified
(return value 10) may be returned if a group specified with either the
-g option or the -G option is an NIS group (see group(4)).
It looks the usermod/useradd cannot add the local user to a NIS group "dba".
To attempt work around this, I manually create an entry in /etc/group for dba group.
[867] % ypcat group|grep dba
ne_dba:*:2000:neoracle,nesybase
dba:*:60:dbac,oracle,sabnis,sybase,vicm
dbaplay:*:67:
dba_syb:*:133:prodsys
dba_su:*:132:aimee,jlove,lyleung,mkusma,tomoo,uchallap
[861] % sudo vi /etc/group
dba::60:
After adding this line to /etc/group, the user dp7adm can be added to group dba.
sudo usermod -G "dba" dp7adm
cat /etc/group | grep dba
dba::60:dp7adm
However the sapinst crashed when I continue the installation.
I've no idea on how to proceed this issue. It looks a bug in sapinst to me.
Thanks
Stella