Help - Search - Members - Calendar
Full Version: Users And Groups
Linuxhelp > Support > Technical Support
chicokid
I would like to create a group in Mandrake Linux that allows the user only to "read" files. I dont want them to have the amility to change ANY settings. Anyone know how this can be done?

Kev smile.gif
chrisw
create a group by typing the following

groupadd <group-name>
substituting <group-name> with the group name you want

then to allow only read access for a file for that group you would type the
two following lines

chgrp <group-name> <file-name>

then

chmod g-w+r-x <file-name>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.