Files & permissions 2004-07-21 - By Andreas Lund
Back 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
|
|