03-03-2009
You can create user and assign the profile and role as below
Quote:
#useradd –u <UID> -g <GID> -P < profile> -r <role > -m –d <Path to home directory> -s <path to shell> <username>
Before adding role and profile you have to create one. And in profile you can add the set of commands which you want to assign to user.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello,
Actually I want to create a user for our brower based custom application for the mail access from our mailserver(linux).
I create user dummy and I granted all the privileages to dummy user and made dummy equivelent to root and if I tried to create a another user logging as dummy ... (1 Reply)
Discussion started by: jarkvarma
1 Replies
2. UNIX for Dummies Questions & Answers
hello,
How do I assign a user to create users other than root in linux . I want to create a users from other user.
bye
varma (4 Replies)
Discussion started by: jarkvarma
4 Replies
3. Solaris
Hi all,
I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin.
Name for the user Tivoli
Thanks & Regards
Babu (7 Replies)
Discussion started by: lbreddy
7 Replies
4. AIX
Dear All,
I'd like to know is there any way to determine when a user id created in AIX?
Thanks,
Istvan (2 Replies)
Discussion started by: istvan.banai
2 Replies
5. Solaris
i am trying to create a user on solaris 10. it is not taking user name with more than ten characters. which file i need to edit to do this setting. (4 Replies)
Discussion started by: raynu.sharma
4 Replies
6. Solaris
I created a user in my Solaris box , but after creating am not able to login with that user name . Can anyone tell me that i have to change any files for enabling the login. (2 Replies)
Discussion started by: rogerben
2 Replies
7. Red Hat
Hi
Thanks in advance.
How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies
8. Solaris
Hello guys,
i have a problem where i cant create a user and here some problem that i encounter.
1. /etc/passwd seems locked.
2. getting this error UX: useradd: ERROR: Cannot update system files - login cannot be created.
# useradd -u 47367 -g 1084 -c "user123" -d /local/home/user123 -s... (2 Replies)
Discussion started by: brew
2 Replies
9. AIX
hi seniors
i want to create the users like when the user try to login it should not
should not promt for passwd is it possible to create users like this
please help me (6 Replies)
Discussion started by: senmak
6 Replies
10. Solaris
Hi can anyone help me how to create a NIS user by editing the files like Passwd,group, Netgroup,auto.home and Aliases using the "enis" utility?
Please do the needful................................ (4 Replies)
Discussion started by: Revathi@1
4 Replies
LEARN ABOUT DEBIAN
axspawn.conf
AXSPAWN.CONF(5) Linux Programmer's Manual AXSPAWN.CONF(5)
NAME
axspawn.conf - Control the operation of axspawn.
DESCRIPTION
The axspawn.conf file controls the operation of the axspawn(8) program. The operation of the config file can best be seen in an example:
# this is /etc/ax25/axspawn.conf
#
# allow automatic creation of user accounts
create yes
# allow empty password field (so user may login via telnet, too) [default no]
create_empty_password no
#create_empty_password yes
# create with system utility useradd(8)? [default no]
#create_with_useradd no
create_with_useradd yes
#
# pwcheck method: password or call or group. [default: password]
#pwcheck call
#pwcheck group
pwcheck password
#
# guest user if above is 'no' or everything else
# fails. Disable with "no"
guest guest
#
# group id or name for autoaccount
group hams
#
# first user id to use
first_uid 400
#
# maximum user id
max_uid 2000
#
# where to add the home directory for the new user
home /home/hams
#
# secure homedirectories (g-rwx)
#secure_home yes
#
# user's shell
shell /bin/bash
#
# bind user id to callsign for outgoing connects.
associate yes
The "associate" option has to be used with great care. If a user logs on it removes any existing callsign from the translation table for
this userid and replaces it with the callsign and SSID of the user. This will happen with multiple connects (same callsign, different
SSIDs), too. Unless you want your users to be able to call out from your machine disable "associate".
FILES
/etc/ax25/axspawn.conf
SEE ALSO
axspawn(8).
Linux 2 August 1996 AXSPAWN.CONF(5)