Files & permissions 2004-07-21 - By Harry Hambi
Back Understand....lets say there's only one file I wish only read access to,I don't want them logging on as me, can I create a separate log on, & give them read only access to this one file?.
Rgds.
Harry.
-- --Original Message-- -- From: valhalla-list-bounces@(protected) [mailto:valhalla-list-bounces@(protected)] On Behalf Of Andreas Lund Sent: 21 July 2004 15:18 To: Discussion of Red Hat Linux 7.3 (Valhalla) Subject: Re: Files & permissions
Wed, 21 Jul 2004 11:45:55 +0100, "Harry Hambi" <harry.hambi@(protected)> wrote: > Hi All, > I have files that I would like others to have read only, the machine > in question is a linux dhcp server,there's only one username & > password to this box.how do I create another account to this box with > read only access to all files on the box.
If by "all files on the box" you mean system files and the lot, the short answer is that you can't and you probably wouldn't really want to.
To get an understanding of the UN*X file permission model, have a look at the manpage for "chmod" by typing "man chmod" at the command prompt.
However, if you mean within a certain file area, like you want to use your linux box as a file server then I'd look at Samba if I were you. Samba lets your linux box emulate a Windos server, and shares can be set up with read/write or read-only permissions based on the user name.
See www.samba.org for more information, the RPMs are included with RH Linux but you might want to go with a slightly newer version :-)
Hope this helps,
-- Andreas Lund (floyd@(protected)) Tel: +47 90.07.71.62 / +47 63.88.33.56 Ano-Tech Computers (http://www.atc.no/) ** He had a baseball bat and I was tied to a chair. ** Pissing him off was the smart thing to do. -- Max Payne
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Valhalla-list mailing list Valhalla-list@(protected) https://www.redhat.com/mailman/listinfo/valhalla-list
http://www.bbc.co.uk/ - World Wide Wonderland
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Valhalla-list mailing list Valhalla-list@(protected) https://www.redhat.com/mailman/listinfo/valhalla-list
|
|