Computing.Net > Forums > Linux > linux server rights

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

linux server rights

Reply to Message Icon

Name: raja
Date: October 8, 2001 at 16:20:15 Pacific
Comment:

i have a one large server, we are divude in theree group in company, one group member do not view another group member,but some files are shared in two teams, how can its passible.



Sponsored Link
Ads by Google

Response Number 1
Name: Apple
Date: October 9, 2001 at 11:29:13 Pacific
Reply:

Move the three user groups into different unix groups. usermod will allow you to change user groups. You can add a single user to many groups as well.

Change the ownership of the files (and directories) you want to restrict access to with chown. Then, if you chmod 660 the restricted files, they will not be accessible to anyone outside the groups that have been granted permission to view them (and root).

ex) user1, user2, user3
user1 : group1, group2
user2 : group2, group3
user3 : group3

file1 : chown user1:group2 660
- user1 and user2 can access (rw)
file2 : chown user2:group3 640
- user2 has rw access, user3 has r only access
file3 : chown user1:group1 660
- user1 is the only one with access (rw).



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: linux server rights

Linux Server Installation www.computing.net/answers/linux/linux-server-installation/7226.html

Win2000 Server and RedHat Linux Servers www.computing.net/answers/linux/win2000-server-and-redhat-linux-servers/5926.html

Linux Server Setup www.computing.net/answers/linux/linux-server-setup/17153.html