Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
chattr is a command (which is probably available in your distro) that sets filesystem attributes. These can be seen with the command lsattr. Theere are various attributes that can be set with chattr, and one of them is the +i attribute, which is "immutable". This means the file is pretty much untouchable, it cannot be deleted, edited or moved or anything like that. It can only be done to if the +i attribute of the file is removed by the superuser using the chattr command.
Furthermore it does not protect against formatting the disk.
You can find further info on the chattr command with
Code:
man chattr
.
Anyways, it does one of the things that you asked for in the first post, makes files non deletable, non editable etc. Not sure if it is part of GNU coreutils or where it is included, but I think it's pretty standard in all distroes, available.
I also think by saying this I can tell you if you're looking for "one program" that does all the security this and that, GNU/Linux does not work like that. Most things are done 1 thing in 1 program, another thing in another program, these are all small programs, but when you collect them all, you have alot of functions. Probably most of the security things you want are already available to you in many such small programs and commands.
Initially I wanted to write: the software are available, can be installed, but the security mainly based on the configuration, not the software.
But now it looks like you need something else. I do not know what do you really need, what is your real problem, probably you can explain it a bit better.
From the other hand you got a lot of suggestion to read man pages of different good tools (and also you can find tutorials about them on the net - or view some videos too).
If there was no other idea, start with wiki pages and man pages. All are available on the net.
Does anyone know of any good security programs for linux like there are for windows ? Something that locks-hides files & folders so they can`t be edited or moved deleted ? Any that restricts access to certain features like start menu,control panel,registry and others, Folder Lock as a example.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.