Visit The New, Modern Unix Linux Community


protection schemes


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory protection schemes
# 1  
protection schemes

Consider a system that supports 5,000 users. Suppose you want 4,990 of these users to be able to access one file

How would you specify this protection scheme in UNIX
These 2 Users Gave Thanks to mattyboy For This Post:
# 2  
Hi,

That's one of the reasons that groups exist, you can, for example, put the 10 remaing users on a different group than the others... on some OSs, like Solaris, you can use special file permissions with ACLs...
These 2 Users Gave Thanks to jsilva For This Post:
# 3  
hello jsilva , thanks for the reply could you go into a bit more
detail please

thankyou
This User Gave Thanks to mattyboy For This Post:
# 4  
Matty,

Could you offer your need for such an explanation? It seems rather odd that it would be the case that almost 5k folks would need the exact same file?!?!?

It would be a nightmare to manage such a file if 5k folks were editing it periodically...

Id be interested to hear more about it...
This User Gave Thanks to Kelam_Magnus For This Post:
# 5  
Mattyboy,

Your question sounds like homework as do your other posts. Please read the forum rules.

As for an example of setting an extended ACL:

/usr/bin/setfacl -s user:user4991:r-x,user::rwx,group::---,mask:r-x,other:---, /path/to/some/file

Read the manpage for setfacl.

Cheers,

Keith

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #291
Difficulty: Easy
In August 2016, the United States government announced a new federal source-code policy. This policy mandates that at least 50% of custom source code developed by or for any agency of the federal government must be released as open-source software (OSS).
True or False?

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script protection against changes

Hi everyone, Im trying to protect the scripts I have made from changes. At my office Im the one who research improvements on daily tasks, and Ive done many scripts, that I share with my partners.Im tired because they take my scripts and make their owns with new features that dont share... (4 Replies)
Discussion started by: dover07
4 Replies

2. Linux

file security/protection

Hi All I am working on a site to help newbie to learn linux for free. demo.freelinuxconsole.info there is only one file index.php its been able to rename or deleted. Kindly let me know what permissions should i give to secure this file from editing or deleting by others. (8 Replies)
Discussion started by: smithjack
8 Replies

3. Shell Programming and Scripting

File Protection and Security

Since I'm just new in unix, can I ask the experts on how I can develop or enhance a unix utility in protecting or securing a file using scripts. Im thinking chmod, is it enought? or are there other utilities in unix? My algorithm is like there will be a menu that shows a list of types of... (2 Replies)
Discussion started by: imjustjong
2 Replies

4. Shell Programming and Scripting

override protection 644 (yes/no)?

Hi pls help me out to short out this problem rm PAB113_011.out rm: PAB113_011.out: override protection 644 (yes/no)? n If i give y it remove the file. But i added the rm command as a part of ksh file and i tried to remove the file. Its not removing and the the file prompting as... (9 Replies)
Discussion started by: sri_aue
9 Replies

5. Cybersecurity

spam and protection?

Hello, Long time ago we used to suffer from relay and users using your own mailservers to spam but thanks god for auth-before-pop. But now i'm facing small problem with someone which us he is spaning using whatever mailserver with your@email.address.com and when these emails go to unknown... (10 Replies)
Discussion started by: Bashar
10 Replies

6. UNIX for Dummies Questions & Answers

Override protection.....

I am having this problem......when I run this script: print -n "Enter file name to be deleted: " read answer if then rm $name else echo "No such file with the name: $name exists" fi I was trying to test my script for errors, and basically when the user had files with the rights: 400,... (1 Reply)
Discussion started by: Makaveli.2003
1 Replies

Featured Tech Videos