coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Saturday September 4, 2010


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 18 guests online

Newest Member

caprisces

Hit Counter
4753054 Visitors

cool Statistics
coolcommands:1313
Categories:82
Total queries:523752
Members:4276





Category Search coolcommands.com
Select Category:


coolcommand

mkuser - add a user in IBM AIX
Description

To add a user in IBM AIX:

# mkuser [ -R load_module ] [ -a ] [ Attribute=Value ... ] Name

Common attributes used:

account_locked : Indicates if the user account is locked. Possible values include: true or false.

admin : Defines the administrative status of the user. Possible values are: true or false.

admgroups : Lists the groups the user administrates. The Value parameter is a comma-separated list of group names.

home : Identifies the home directory of the user specified by the Name parameter.

gecos : Supplies general information about the user specified by the Name parameter.

groups : Identifies the groups the user belongs to. The Value parameter is a comma-separated list of group names.

id : Specifies the user ID.

login : Indicates whether the user can log in to the system with the login command. Possible values are: true or false

pgrp : Identifies the user's primary group.

shell : Defines the program run for the user at session initiation.

su : Indicates whether another user can switch to the specified user account with the su command. Possible values are: true or false

sugroups : Lists the groups that can use the su command to switch to the specified user account.
Example

mkuser id='673' pgrp='mqm' groups='mqm' su='true' sugroups='mqm' home='/home/mqm' gecos='MQ Series User' maxage='0' mqm

Return to search results

Random coolcommands

coolcommand: how to show all available paths on the system in IBM AIX
Example: lspath
[show me the details]
coolcommand: chlicense - how to modify number of fixed licenses or turn floating licenses on or off in IBM AIX
Example: chlicense -u'128'
[show me the details]
coolcommand: HMC - syntax and common HMC command flags
Example: HMC CLI - command line interface
[show me the details]
coolcommand: how to run a full database backup with Sybase
Example: dump database pubs2 to "/mnt/backup/pubs2.bkp"
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1138
audet37
kah00na32
Mariom24
lebjf00013

Top 5 Searches

Category Solaris42688
Category AIX38043
Category General UNIX34243
solaris20800
aix19388

Terms of Use
Privacy
Contact


 
coolcommands.com © 2010. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum