Sponsored Content
Top Forums UNIX for Dummies Questions & Answers home directory & group in UNIX question Post 302155959 by Katkota on Sunday 6th of January 2008 09:07:27 PM
Old 01-06-2008
Thanks for the reply, but any idea on how to do your solution for question 1?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

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

limiting home directory size for a group

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

Shared Home directory between Unix servers

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?

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

group & user permission question

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

user & group read/write access question

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

Unix set home directory

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

Search in Unix home directory

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

New To UNIX - Need Script to create report of user & group accounts

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
luseradd(1)						      General Commands Manual						       luseradd(1)

NAME
luseradd - Add an user SYNOPSIS
luseradd [OPTION]... user DESCRIPTION
Adds an user with name user. OPTIONS
-c, --gecos=gecos Set the GECOS field to gecos. The GECOS field is traditionally used to store user's real name and other information. -d, --directory=directory Set user's home directory to directory. If this option is not present, a default specified by libuser configuration is used. -g, --gid=group Set user's primary group to group. group can either be a group ID of an existing group, or a group name; if group is a group name and the group does not exist, it is created. If the --gid option is not specified, the default group name is user. -i, --interactive Ask all questions when connecting to the user database, even if default answers are set up in libuser configuration. -k, --skeleton=directory Populate the newly created user's home directory with a copy of directory. If this option is not present, a default directory spec- ified by libuser configuration, or /etc/skel if libuser configuration does not specify a default, is used. -M, --nocreatehome Don't create a home directory and a mail spool for the newly created user. -n, --nocreategroup If a group is not specified using -g, use group name "users" instead of user. Note that despite the name of the option, the group will still be created if it does not exist. -P, --plainpassword=password Set user's password to password. Note that the password can be viewed while running luseradd using tools such as ps(1). -p, --password=encrypted Set user's password to the password represented by the hash encrypted. Note that the hash can be viewed while running luseradd using tools such as ps(1). -r, --reserved The user is a system user. Users that are not marked as system user usually have automatically selected user IDs above a certain value (configured as LU_UIDNUMBER in libuser.conf(5)). This information is also passed to the libuser backends. This option implies the -M option. -s, --shell=shell Set user's login shell to shell. If this option is not present, a default specified by libuser configuration is used. -u, --uid=uid Use user ID uid for the newly created user. An user ID is selected automatically if this option is not present. --commonname=name Use common name name for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its support may have further limitations (e.g. LDAP schema rules). --givenname=name Use given name name for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its support may have further limitations (e.g. LDAP schema rules). --homephone=phone Use home telephone number phone for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its support may have further limitations (e.g. LDAP schema rules). --roomnumber=room Use room number room for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its support may have further limitations (e.g. LDAP schema rules). --surname=name Use surname name for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its support may have further limitations (e.g. LDAP schema rules). --telephonenumber=phone Use telephone number phone for the newly created user. This attribute is only supported in some backends (e.g.LDAP), and its sup- port may have further limitations (e.g. LDAP schema rules). EXIT STATUS
The exit status is 0 on success, nonzero on error. libuser 2009-12-09 luseradd(1)
All times are GMT -4. The time now is 02:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy