LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-06-2005, 11:35 AM   #1
banner
Member
 
Registered: Mar 2005
Posts: 49

Rep: Reputation: 15
Thin Client User Security


I am new in using linux but i have managed to setup 5 thin clients which connect to the linux server. The question i have is how do i let users log on to the server but with limited acess to certain files and programs. So far when a user logs on to the server that user still seems to have all privilages such as the root.

What i would like is to set a group like students and all the users under students have limited access to programs and files. please be easy on me and explain thing s to me simple so i can get this to work i have been with windows for over 10 years an now am coming to linux so there are many things i do not know how to do.

Thank you
 
Old 04-07-2005, 05:45 PM   #2
Ben2210
Member
 
Registered: Feb 2004
Location: Toronto
Distribution: Arch
Posts: 146

Rep: Reputation: 16
Under linux, by default, when you add a new user, he has limited permissions. This is what you want.

To check what permissions user "joe" has on file (or directory) "filename", do the following :

first, determine what groups joe belongs to. To do that, type
Code:
groups joe
It will return a (possibly empty) list of groups, like "joe : users cdrom audio video"

then, determine what ownership and permissions are put on file "filename". To do that, type
Code:
ls -l filename
That will return something like
Code:
-rwxr-xr-x   1 joe users      1400 2005-03-15 11:24 filename
here you read that "filename" is owned by user "joe" and by group "users".
the sequence "rwxr-xr-x" tells you the permissions. The first 3 letters are the permissions of the owner (here joe), the 3 next letters are the permissions of every other member of the group (here the members of the group "users"), and the 3 last are the permissions of all other users.
r means read, w means write, x means execute for a standard file, and traverse for a directory.

You can also read that in a graphical file browser like konqueror.

If all your users have the same permissions as root, that's very, very bad !

Last edited by Ben2210; 04-07-2005 at 05:48 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie thin client nadine.mauch Linux - Networking 2 03-28-2005 03:12 AM
Thin Client ps6000 Linux - Software 3 12-15-2004 10:54 PM
thin client + wireless thinclientlinux Linux - Wireless Networking 3 12-08-2004 03:25 PM
thin client and linux mamta_k Linux - Hardware 2 06-28-2004 05:23 AM
Thin Client Setup MattLaw Linux - Networking 2 04-09-2004 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration