On Fri, Mar 13, 2009 at 10:23:10AM -0400, Anurag S. Maskey wrote:
> 
> 
> 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

Lizhong, be sure to check the profiles, as Anurag shows here.  By
default, when you login on the console of a system you'll have the
'Console User' role assigned to your uid; that role includes all of
the solaris.network.autoconf.* authorizations needed to manage nwam.

It would also be good to check the specific authorizations you have,
using the 'auths' command.  The output from this command is not very
readable; I've found the best thing to do with it is redirect it to
a file and grep or do a text search for the auth I'm looking for.

Anurag, could you confirm what bits you tested on?  I also would not
expect to see different behavior in this area over the past several
weeks, but it would be good to make sure we're all looking at the
same bits.

-renee

Reply via email to