|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
chflags issue
Hi,
I'am trying some protection on files with chflags but i have issues. As root user: Code:
> touch /etc/file1 > chflags sappnd /etc/file1 > echo test >/etc/file1 chflags: /etc/file1: Operation not permitted > chflags nosappnd /etc/file1 chflags: /etc/file1: Operation not permitted What's wrong ? Thanks. Last edited by anthonyc; 24th December 2016 at 02:31 PM. |
|
|||
Everything is alright.
You must restart your operating system to security level 0 if you want to remove sappnd flag. You probably can append to file. Use >> instead of >. See chflags(1) and securelevel(7) manpages.
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase Last edited by e1-531g; 23rd December 2016 at 08:07 PM. Reason: added manpages |
|
|||
Thanks !
I use chattr on Linux that do not need a restart to remove flags OpenBSD is really a more secure OS. |
|
|||
Quote:
__________________
Signature: Furthermore, I consider that systemd must be destroyed. Based on Latin oratorical phrase |
Tags |
chflags |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
xen 45 issue | philo_neo71 | NetBSD General | 1 | 9th November 2015 11:05 AM |
FTP issue? | desreguard | OpenBSD General | 14 | 29th August 2011 04:21 PM |
VPN Nat issue on 4.8 | copetts | OpenBSD Security | 2 | 12th April 2011 10:34 AM |
Possible SMP Issue? | MetalHead | OpenBSD General | 1 | 25th November 2008 03:52 AM |
RAM issue | nikkon | FreeBSD General | 5 | 7th May 2008 04:26 AM |