NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Readonly privilege to execute vfiler commands on CLI

MOHAN1985
2,906 Views

I want to add capability to a role that allows user only to execute "vfiler run * qtree status".  Or "vfiler run * (any command)", using cli-vfiler enables add, remove operations as well.

 

How do I create a readonly privilege?

1 REPLY 1

GidonMarcus
2,894 Views

Hi

 

 

you can't https://kb.netapp.com/support/index?page=content&id=2011607, if your'e coming from the vfiler0 your'e root in the vfilers.

need to think on another solution...

 

if it's really qtree status that youre after. "qtree status -v" from vfiler0 will include the vfiler names.

 

good luck

Gidi Marcus (Linkedin) - Storage and Microsoft technologies consultant - Hydro IT LTD - UK
Public