The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
.
google unix.com



UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office 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 08:40 AM
Unix Security norsk hedensk Security 8 05-01-2007 07:51 PM
Unix Security Alerts cbalemba Security 4 05-25-2006 05:55 PM
UNIX Security Question OBCCBIP UNIX for Dummies Questions & Answers 3 08-09-2004 06:02 PM
unix security breigner HP-UX 6 01-13-2004 09:22 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-21-2002
DuttO DuttO is offline
Registered User
  
 

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

Sorry, Unix file security

Thanks
  #2 (permalink)  
Old 03-22-2002
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0