How to Make a File Immutable in SynetoOS 4

Written By Sebastian Sime (Draft Writer)

Updated at February 5th, 2026

Table of Contents

→ Applies to: SynetoOS 4.x

 

Step 1. Connect to SynetoOS appliance via SSH as admin

ssh admin@<your_ip_address_or_hostname>

 

Step 2 (optional). Change into Solaris shell (in case you're directed to an unsupported shell)

un sh

 

Step 3. Become Super User

sudo su

 

Manage Files

Set file as immutable and persistent (replace <file_name> with the complete path)

chattr +i <file_name>

EXAMPLE

chattr +i /tmp/testfile.sh

 

Remove file immutability (replace <file_name> with the complete path)

chattr -i <file_name>

EXAMPLE

chattr -i /tmp/testfile.sh