The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM


UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Bastille: classic Linux and Unix security - Help Net Security iBot UNIX and Linux RSS News 0 10-09-2007 05:40 AM
Unix Security norsk hedensk Security 8 05-01-2007 04:51 PM
Unix Security Alerts cbalemba Security 4 05-25-2006 02:55 PM
UNIX Security Question OBCCBIP UNIX for Dummies Questions & Answers 3 08-09-2004 03:02 PM
unix security breigner HP-UX 6 01-13-2004 05:22 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2002
Registered User
 

Join Date: Mar 2002
Location: Lichfield, England
Posts: 2
Question Unix Security

Sorry, Unix file security

Thanks
__________________
DUTT
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-22-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
Here are the basics, you may want to check out the "FAQ" section for recommendations on beginners books that will provide a lot more information.

Every file on the system has an "owner" and a "group" that it belongs to. These are stored on disk as integers, and are mapped to human readable names using the /etc/passwd file and /etc/group file. Each file also has a set of permissions controlling who can access it. There are three sets of permissions for each file: user, group, and world (everyone else). For each set there are three (not strictly accurate, but I'm sticking to basics here) attributes that can be set: read permission, write permission, and execute permission. These are displayed when you do a long listing with "ls -l".

example:

$ ls -l test
-rwxrwxr-x 1 foo users 13780 Mar 13 13:18 test

So the permissions on this file grant read, write and execute to the user (foo) and group (users), and read & execute to anyone else.

You modify these file attributes using the "chmod", "chown" and "chgrp" commands. Please refer to the respective man pages for details.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0