Here's the set-up:
I have a server running Samba with a share called "MyShare". MyShare contains a folder that, on the Server's file system is owned by user "User1" and Group "Employees". The folder and it's files are 770 and 660 respectively.
I have a test setup with two user groups: group-a and group-b, and a single samba-share with
path = /data/share
read only = no
create mask = 770
Certain users are in both group-a and group-b and have group-a as their primary group.
NFSv3 of course doesn't support ZFS ACL's, but what will happen if I have the following setup?:
+-----------------------------------------+ +-------------+
| FreeBSD ZFS serv1 | NFSv3 | Linux serv2 |
| user1: read/write to /zfs/project1 | <--------- | user1 |
| user2: deny read/write to /zfs/project1 | | user2 |
+---------------
I know a little about users and groups; in the past I might have had a group like 'DBAS' or 'ADMINS' and I'd add individual users to each group...
But I was surprised to learn I could add users to other users - as if they were groups.
For example if my /etc/group contained the following:
user1:x:12501:
user2:x:12502:user1
admin:x:123:user2,jim,bob
Since user2 is a member of the admin group, a
Hi,
I am working on setup a environment where only a specific user can upload the builds on htdocs of apache.
Now i want that a specific user can copy the builds on htdocs folder.
I created a group "deploy" and assign user1 and user2 to this group.
Ok so heres the problem.. I've been banging my head over this Linux assignment for a few hours now and just can't figure out a proper solution. Basically we're acting as a system admin for a fictional company, and we have to assign permissions to various directories based on groups.
The Executive Group (exec)
-exec-normal, exec-secure directories
I'm trying to configure quota for my / mount on Ubuntu 11.10. I have added ,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 to it in fstab. Made mount -o remount / and quotacheck -avugm.
I'm working for a company where we have lot of different projects. Now we have an FTP Server, where every user can login using their active directory credentials. Project owners of the company we do the project for also have access using AD.
Every user has access to the FTP Server, however employees can be in multiple projects, but should be jailed to each of them.
A user can for ex.
One of my users (user1) is able to connect to myserver (as user1) using SSH key authentication. The id_rsa keys are set up in /home/user1/.ssh and this works fine: the key is authorized on the server.
I've created a second user on the same client machine (user2) and copied the entire .ssh directory into /home/user2/.ssh.