User Rights / Permission

i hope this is the correct place to post this thread. please correct me if im wrong. i have a suse 11.0 file server with 15 active users accessing the server daily. 3 of the 15 users dont always know what they are doing and im afraid they will remove some of the files on the server. is there a command to restrict only one user, giving him read-only rights or permission?

So these less capable users should only have read-only access?

How is your sharing set up, using Samba, NFS or what? Answer depends on that.

heinstein86 wrote:
> im afraid they will remove some of the files on the server

is your backup regime tight?


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

yes, read-only access. shares are set up with samba. im not exactly sure what backup regime tight is?

Assuming you have set the exported directory as a separate share, the users allowed to login to that share are set with the “valid users” setting and then you can specify that some of those users have read-only access using the “read list” setting. See man smb.conf.

On Thu June 10 2010 08:56 pm, ken yap wrote:

>
> Assuming you have set the exported directory as a separate share, the
> users allowed to login to that share are set with the “valid users”
> setting and then you can specify that some of those users have read-only
> access using the “read list” setting. See man smb.conf.
>
>
heinstein86;
If just a few users need to be able to write to the share, then it might be
easier to use the parameter “write list”. The primary samba control over
read/write would be the parameters:
read list
write list
valid users

In addition it is possible to control access with the posix permisions. Samba
must obey the posix permissions. But generally this is a bit more tricky.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

heinstein86 wrote:
> im not exactly sure what backup regime tight is?

sorry (for the slang), my point was: since there is concern over the
possibility that some users might delete data, i was wondering if you
had a well established, practiced and fail proof (‘tight’ as in
airtight) routine to backup the data they access, just in case…

imo, such should be in place before suspect users have access, whether
constrained by read only rules, or not…

http://www.answers.com/main/ntquery?s=airtight


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

ive edit my samba config file with the read list, write list and valid users. works perfect. thank you for all the replies!