Unsolved

1 Rookie

 • 

4 Posts

225

November 7th, 2022 22:00

Unity: How to use svc_* commands to find out ftp, sftp, home directory etc. values?

Hi there,

Hello there,

 

I'm trying to build a report to display and create a csv of the ntp confirmation, ftp, sftp etc. settings on Unity Hosts. And I need to be able to do this via sshing to the unity host using service user and running svc_* commands . I CANNOT use uemcli due to design limitations. 

I referred this list for svc_commands - https://www.dell.com/support/manuals/en-us/unityvsa-professional-edition/unity_p_svc_cmd_tech_notes/serviceability-commands?guid=guid-b42c1966-679c-434c-95f1-5c922ada8165&lang=en-us 

And I was able to find the command svc_ntp -i to get the ntp information on the host. 

However, I'm unable to find the command to display the sftp, ftp statuses for the host. 

I need to be able to get data to build a report like this:

"ID","FTP enabled","SFTP enabled","CIFS users enabled","Unix users enabled","Anonymous user enabled","Homedir limitation enabled","Default home directory","Welcome message","Message of the day","Audit enabled","Audit files directory","Audit file maximum size","Allowed hosts","Allowed users","Allowed groups","Denied hosts","Denied users","Denied groups"
"nas_1","no","no","yes","yes","yes","yes","/","","","no","/.etc/log","512.0K","","","","","",""
"nas_2","no","no","yes","yes","yes","yes","/","","","no","/.etc/log","512.0K","","","","","",""

It would be helpful to point me to the appropriate svc_* command(s) to get the above fields . I've read the above links and unable to find out. Any help will be appreciated. 

I know the uemcli command is '/net/nas/ftp -server show -detail -output csv . However, as I stated above due to design limitations, I cannot use uemcli. 

 

So any help is appreciated. Thank you reading.

No Responses!
No Events found!

Top