Start a Conversation

Unsolved

S

1 Rookie

 • 

41 Posts

255

August 30th, 2022 05:00

list smb open files without root access?

our helpdesk are often closing open files, is there a way to run something similar to  isi_for_array "isi smb openfiles list" | grep but without having to run as a root account? 

All our helpdesk need to do is identify the node the file is on and then can use MMC to connect to the node via IP. however it is a bit time consuming to escalate this to storage administrators each time to run a command like this as root to find the node where the file is open.

has anyone else come across a more efficient method?

1 Rookie

 • 

299 Posts

August 30th, 2022 09:00

suspect you could gather the information using a REST API using a dedicated task account with minimal required privilege's to gather required info.  The minimal privilege's are  probably a subset of 

isi auth privileges --verbose

once the user is setup, use python or your favorite environment to call the SDK API to the isilon. End result is a script that helpdesk can run directly ?

1 Rookie

 • 

573 Posts

September 2nd, 2022 09:00

No Events found!

Top