2
votes
1answer
39 views

How to prevent data from being written into a directory?

Or: How to make a directory write protected, for all users until unlocked again?
1
vote
1answer
98 views

File Permission In www/html Directory For Security

How can I give permission to directories and files in www/html for security. This files have an .js , .php , .sh extensions.They execute in www/html by apache's user(mine is www-data). When I give ...
0
votes
2answers
85 views

Is it safe to alias rm to safe-rm?

We are happy to use safe-rm as a replacement to rm, but is it considered safe to alias it? e.g. alias rm='safe-rm'
3
votes
1answer
173 views

Is file permission secured when it transferred from Ubuntu to Windows?

I am having 9GB text file which is encrypted . This file contains some confidential data . Which is on my system(Ubuntu) and my external HDD (ntfs) . This file get daily updated and then encrypted . ...
7
votes
3answers
12k views

How to disable cryptswap?

How can I disable cryptswap? I would like an unencrypted swap like before. This is on an ubuntu 9.10 system.
3
votes
1answer
1k views

Is full partition encryption the only sure way to make Ubuntu safe from external access?

(By "external access", I mean eg. via a Live CD, or another OS on the same dual-boot machine) A friend wants to try Ubuntu. He's fed up with Vista grinding to a crawl (the kids? :), so he likes the ...
1
vote
1answer
746 views

How can I boot from read-only filesystem while having writable partitions for logs?

I want to mount my root filesystem as read-only on boot, and use separate writable partition for logs. Is it necessary to create a ramfs image for such task? How can I do this?
2
votes
2answers
1k views

Making files generally available on Linux system (when security is relatively unimportant)?

I am using Ubuntu 9.10 on a stationary PC. I have a secondary 1 TB harddrive with a single big logical partition (currently formatted as ext4). It is mounted as /usr3 with options user, exec in ...
2
votes
2answers
402 views

How to make ext4 update files in place during writes

This question consists of two parts: How to find out what is the writing mode of ext4? How to configure an existing ext4 (a journaling file system) to do writes to a file in place such ...
3
votes
1answer
550 views

How can I enable double-click execution from flash drives?

Ubuntu 10.10 does not allow double-click execution of files such as binaries or Python scripts if they are on a flash drive, even when the file is marked as executable. I believe it is probably a ...
3
votes
3answers
2k views

Shred alternatives EXT3?

Given the fact shred will not be effective on ext3, I wonder what are the available alternatives right now. $ man shred ... CAUTION: Note that shred relies on a very important assumption: that ...
13
votes
4answers
6k views

Web Server Best Practices: Directory Structure & Security

I would like to utilize Ubuntu server as web server, but I want to make sure I follow best practices for setting things up. I want to ensure I set the directory up in the best location and understand ...
2
votes
3answers
3k views

CHOWN: What does “id -u” represent

I am working to get Mongodb running on a Ubuntu server install. In reviewing the instructions I needed to create a "\data\db" directory in the root drive. At which point I needed to alter the owner ...