Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Under Linux I can:

chattr +i SOMEFILE

so that even root can't modify the SOMEFILE. Are there any similar solutions for AIX?

share|improve this question
According to this IBM article on AIX V6.1 security features, there is support for immutable files. I don't know how it's done. – Gilles Jan 5 '12 at 23:30

1 Answer

At first I thought that ACLs could do the job. But a quick google revealed that the owner and root can (re)set ACLs on AIX.

chattr is specific to ex3/ext3 file-systems (and thus specific to Linux) - so I would say - you need a file-system that supports this feature.

A workaround might be using an NFSv4-mount from another server. In that environment root normally is mapped to a different (not privileged) UID.

share|improve this answer
Root can reset the immutable bit on Linux too. I don't know anything about AIX ACLs, what is available that's relevant here? – Gilles Jan 5 '12 at 23:31
extended acl's maybe can do something like the "immuntable bit/flag" under other OSes, but I don't know how. – LanceBaynes Jan 6 '12 at 14:02
FileSystem is JFS2 – LanceBaynes Jan 6 '12 at 14:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.