posted 17 years ago
Well, simply put Unix has 3 access privileges, Owner, Group, Other. You can apply various rights for these 3 types using the chmod and chown command. You can find documentation on that on the web, perhaps the ubuntu website would be a good place to start (or you could try man chmod from a terminal window.
The easiest way to see this is to open a terminal window and do ls -l in a directory with files in.
Basically the rights you see are the 1st column, the first char indicates any special bits the file has (in this case "fred" is a directory)
then it's 3 characters indicating the privileges from each access class "Read", "Write", "eXecute". For the sake of simplicity, the execute flag simply indicates if the file can be run as a program or not (this isn't strictly true, that will become apparent once you start reading documentation).
The 3rd and 4th column are the owner's id and the group id respectively (in this case lchan / users).
Taking the above listing as an example :-
"lchan" can read/modify and execute the various tomcat-xxx scripts.
users who are members of the group "users" may read and execute the tomcat-xxx scripts.
other users do not have any access to these files at all.
Now, that doesn't answer your question. What type of access to you want to control. Access to the machine?, access to various files on the machine?
[ October 03, 2006: Message edited by: Lewin Chan ]
I have no java certifications. This makes me a bad programmer. Ignore my post.