Lizhong Li wrote:
> Anurag,
>
> I found there's no auth restriction for "nwamcfg -f ...", is it a defect ?
>
>     bash-3.2$ /usr/sbin/nwamcfg -f nwamcfg_destroy_a.s
>     Configuration read.
>     bash-3.2$ echo $?
>     0
>   

I am not seeing this issue. I don't recall anything related being done
on this since you sent this email.

bash-3.2# su am223141
bash: /root/.bashrc: Permission denied

bash-3.2$ profiles
Basic Solaris User
All

bash-3.2$ nwamcfg list
List error: Insufficient privileges for action
bash-3.2$ echo $?
1

bash-3.2$ nwamcfg -f /var/tmp/myenm.nwamcfg.script
On line 5 of /var/tmp/myenm.nwamcfg.script:
Commit error: Insufficient privileges for action
bash-3.2$ echo $?
1

bash-3.2$ nwamcfg
nwamcfg> create loc test-loc
Created loc 'test-loc'. Walking properties ...
activation-mode (manual) [manual|conditional-any|conditional-all]>
nameservices (dns) [dns|files|nis|ldap]>
nameservices-config-file ("/etc/nsswitch.dns")>
dns-nameservice-configsrc (dhcp) [manual|dhcp]>
hosts-file>
nfsv4-domain>
ipfilter-config-file>
ipfilter-v6-config-file>
ipnat-config-file>
ippool-config-file>
ike-config-file>
ipsecpolicy-config-file>
svcs-enable>
svcs-disable>
nwamcfg:loc:test-loc> verify
All properties verified
nwamcfg:loc:test-loc> commit
Commit error: Insufficient privileges for action
nwamcfg:loc:test-loc> exit
Commit error: Insufficient privileges for action
Configuration not saved; really quit (y/[n])? y
bash-3.2$

do you still get this problem? can you provide details/steps you took to
get this including aths and profiles the user.

Thanks,
Anurag


Reply via email to