LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2004, 04:20 AM   #1
mingarz
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
establishing user accounts & folder permissions


hi im trying to create user accounts for 5 departments... and with in these 5 departments there are 3 users,

each department has its own folder,
i want to allow the 3 users in the department to access their own department folder but restrict them to accessing other department folders,

the 5 departments are Sales, Manufacturing, Personnel, Accounting and General Office

how would i go about this?
and how can i save all this on a floppy?
thanks if u can help me...
 
Old 11-28-2004, 04:24 AM   #2
mingarz
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
also do i create the departments as groups?
 
Old 11-28-2004, 06:17 AM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Yes make groups of the departments, then you have to give ownership to each directory to a certain group with chown [owner.group] $FILE . Then you do chmod to give certain rights to the user: chmod xxx $FILE. It's a bit hard to explain so just search google for chmod and chown and youll find a ton of tutorials.

[EDIT] Do this as root, and about the floppy. This information is stored in the file or directory thats modified, so there is no need to store it as a floppy.

Last edited by bobbens; 11-28-2004 at 06:19 AM.
 
Old 11-28-2004, 08:22 PM   #4
mingarz
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bobbens
Yes make groups of the departments, then you have to give ownership to each directory to a certain group with chown [owner.group] $FILE . Then you do chmod to give certain rights to the user: chmod xxx $FILE. It's a bit hard to explain so just search google for chmod and chown and youll find a ton of tutorials.

[EDIT] Do this as root, and about the floppy. This information is stored in the file or directory thats modified, so there is no need to store it as a floppy.
i need the accounts and groups on floppy so do you know which contents to copy from the root user?
cauz im using slackware and not so sure about the file structure and all...
 
Old 11-28-2004, 09:09 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Why do you need the info on a floppy exactly? In any case the password and groups databases are stored in /etc/passwd, /etc/shadow, and /etc/group. If you need to apply these permissions accross multiple machines, you're better served going with a distributed user database such as NIS or LDAP over copying files around.
 
Old 11-30-2004, 02:37 AM   #6
mingarz
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
okay i have turned to using red hat now...
im using the GUI to create my structure.....

heres how it looks like......


|Microchips (main directory)

|------------>Departments
|------------------------------>Sales
|------------------------------>Manufacturing
|------------------------------>Personnel
|------------------------------>Accounting
|------------------------------>General Office

|------------>Software
|------------------------------>Spreadsheets
|------------------------------>Word Processing
|------------------------------>Client Database
|------------------------------>Accounting Package


as mentioned there are 3 users in each department....

i was wondering how i would set the permissions to restrict the users of each department from accessing certain software?

and should this be done on the harddrive 1st and then copied to the floppy disk after im finished?
 
Old 12-07-2004, 06:54 AM   #7
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
chown
chmod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions difference between /home/..../folder and /root/folder darkleaf Linux - General 3 07-21-2005 05:23 PM
Solaris 10 - user accounts & nforce driver install sph90457 Solaris / OpenSolaris 20 05-18-2005 03:50 PM
Establishing Printer, User, Gnome RJEmery Slackware - Installation 1 04-20-2005 05:16 PM
how to setup folder permissions for guest user with samba? wza Linux - Networking 0 07-08-2004 09:26 AM
SuSE 9.1: Two User accounts, same permissions, one can't play music tigerflag Linux - Distributions 1 06-13-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration