Thursday, September 1, 2016

How to modify NetApp /etc/rc file

In this example, we are copying the existing /etc/rc file and we are going to modify the /etc/rc file. This can be applied to other text files as well.
  1. Telnet to filer
  2. Filer> priv set advanced
  3. Filer> rdfile /etc/rc
  4. Copy and paste the text into Windows WordPad (not Notepad) or a UNIX aware text editor such as TextPad, and modify as needed.
  5. Filer> mv ./etc/rc /etc/rc.back
  6. Filer> wrfile /etc/rc
  7. Copy and paste the text from the text editor into the Telnet session. Hit return to move the cursor to a new line
  8. Save with Ctrl+c ('read: error reading standard input: Interrupted system call' is normal)
  9. Filer> rdfile /etc/rc to verify the data in the new file
  10. Filer>priv set

2 comments: