01-05-2008
home directory & group in UNIX question
folks;
I'm going to use LDAP on Solaris 10 to authenticate users, i have 3 questions, i'm hoping it can be possible:
1. when users login for the first time, Is there a way to auto create a home directory like "/home/"user_name" so we don't have to a create a home directory for every single users (we will have about 300 users that going to need access to that Solaris box.
2. If question 1 can be done, is there a way to assign group to each user as well?
3. If question 2 can be done, Is there a way to make the group assignment based on their own group in LDAP?
In other word, let's say i have 2 groups in LDAP called "new & old", then if a user from group "old" in ldap logs in to the Solaris box he should be assigned to group "staff" and if a user from group "new" in ldap logs in, the associated group on Solaris box would be "sysadm"
Help is very appreciated
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
First of all, i am so sorry about my bad level in English writing.
I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me.
I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies
2. UNIX for Dummies Questions & Answers
Is there a way to set the size of the home directory for every single user in a specific group, in more details:
I have a group & i will have to add about 20 users to it to be their home directories. i want each of the home directories for this group to be limited to 50 MB
Help? (11 Replies)
Discussion started by: Katkota
11 Replies
3. Filesystems, Disks and Memory
Hi
Im working in an environment where 2 production and 2 testing unix servers are used.. All these servers share the same home directory..
how is it done
where would the home directory be located (0 Replies)
Discussion started by: raghav288
0 Replies
4. UNIX for Dummies Questions & Answers
How to find the free space & usage of the particular directory in Hp-Unix?
I want to see the usage in % (2 Replies)
Discussion started by: bobprabhu
2 Replies
5. UNIX for Dummies Questions & Answers
Folks;
I'd like to create a group on my Linux box & add a few users to it.
Is there a way to do so and restrict this group/users to have access to only one or directory trees?
Let's say i need this group to only have a read write access to only these two directories /opt/Virtu & /fsn/comers
... (10 Replies)
Discussion started by: Katkota
10 Replies
6. UNIX for Dummies Questions & Answers
folks;
I created a new users on my SUSE box and i need to give this user/group a read write access to one specific folder. here's the details:
- I created new user "funny" under group "users".
- I need to give this user "funny" a read/write access to another directory that is owned by "root".... (3 Replies)
Discussion started by: Katkota
3 Replies
7. UNIX for Dummies Questions & Answers
Hi I've just made a directory, what command do I use to now make it the base directory?
Thanks!!!!!!!!!!!!!!! (1 Reply)
Discussion started by: beckywatson
1 Replies
8. Shell Programming and Scripting
I have many views in my Linux home dir under different folders mentioned below.
Home
1. CCVIEWS
2. views
3. Development
4. testproject
:
:
etc.
Now i want to list all the clearcase views in my linux dir in below format to work on other script.
1) user_test_Work1.vws
... (4 Replies)
Discussion started by: saku
4 Replies
9. Shell Programming and Scripting
Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc.
Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies