![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Managing FileSystems on Solaris | panchpan | SUN Solaris | 15 | 10-17-2007 04:35 AM |
| Managing Users in a Global Environment | Randal | UNIX for Advanced & Expert Users | 0 | 02-15-2007 03:14 PM |
| error in managing linklist | bhakti_2025 | High Level Programming | 3 | 05-17-2006 10:59 AM |
| Managing nodes??? | TRUEST | UNIX for Advanced & Expert Users | 5 | 03-21-2003 05:47 AM |
| best solution for managing many nameservers | Bashar | UNIX for Advanced & Expert Users | 1 | 01-07-2003 03:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Thanks
if I understand this correctly,
I am basically -creating the users/groups -change the directory permissions to reflect which group is allowed to access that directory If i am correct, can you give me some command line examples |
|
|||||
|
OK. The actual commands and flags depend on the flavor of UNIX you are playing on (YMMV):
In Linux you add users with the 'adduser' command. After adding users, you create a group by editing the /etc/group file and add users to the group. I use the VI editor. Now you have users and groups .The permissions are based on your different requirements. Lets say you want the new users to write in the directory but no modify it. mkdir /tmp/newdirectory chown root.newgroup /tmp/newdirectory chmod 770 /tmp/newdirectory This means that root will be able to read, write, and search; members of the newgroup will be able to do the same. Other users and groups will have no permissions to write, search or read the directory. It is best, IMHO, for you to read the man pages on chown() and chmod() and then experiment by changing to different users (to get a flavor for how it actually works.) |
|
||||
|
Alright I get it
Just for your futher reference, I am working with Solaris 2.6 I know this is simple admin stuff but I am scheduled to take a class on this stuff this fall Thanks again |
| Sponsored Links | ||
|
|