18.07.2013 Views

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.1 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Working with files on the <strong>Sidewinder</strong> <strong>G2</strong><br />

A-14 Command Line Reference<br />

3. Delete the original file.<br />

rm file1<br />

4. Change the new file to the target domain and/or file type.<br />

chtype domain:filetype newfile<br />

5. Rename the file.<br />

mv newfile file1<br />

Auditing the use <strong>of</strong> chtype commands<br />

The <strong>Sidewinder</strong> <strong>G2</strong> audits each failed occurrence <strong>of</strong> a chtype<br />

command. However, you can also audit successful chtype events.<br />

Use the following commands to enable or disable the auditing <strong>of</strong><br />

successful chtype commands.<br />

To enable auditing <strong>of</strong> successful chtype commands, enter the<br />

following command:<br />

sysctl -w kern.auditchtype=1<br />

To disable auditing <strong>of</strong> successful chtype commands, enter the<br />

following command:<br />

sysctl -w kern.auditchtype=0<br />

Note: Whether you enable or disable auditing <strong>of</strong> successful chtype events, failed<br />

chtype events are always audited.<br />

Creating your own scripts<br />

While operating in either the User or Admn domains, you can create<br />

your own scripts for use on the <strong>Sidewinder</strong> <strong>G2</strong>. Scripts created in the<br />

User domain will be executable by the Admn and User domain but no<br />

other domain. Scripts created in the Admn domain will not be<br />

executable by anyone until the type is changed to Admn:scrp using<br />

the chtype command.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!