Author |
Message
|
amqsput |
Posted: Wed Mar 21, 2007 12:06 pm Post subject: How to create User and Group ID in Linux? |
|
|
Newbie
Joined: 21 Mar 2007 Posts: 8
|
Hi,
I am new user to Linux. Please, can someone help me out "How to create a USER-ID and GROUP-Id (mqm)?" for WQM installation. I already read Quick beginning for Linux installation. But I didn't find out How to create new user-id and group-id for installation procedure. Thanks  |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 21, 2007 12:10 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can either manually edit /etc/passwd and /etc/group, or you can either useradd or adduser, depending on the distribution.
Or you can use the fancy GUI tool for managing users that your Distribution will supply.
In all cases you will need to be root.
If you are not root, then merely ask the system administrator to create the user for you. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
amqsput |
Posted: Wed Mar 21, 2007 12:19 pm Post subject: |
|
|
Newbie
Joined: 21 Mar 2007 Posts: 8
|
Hi,
Thanks Jefflowrey for your quick reply. Is it possible to create a new user ID and group-id by terminal command?. Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 21, 2007 12:23 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
useradd or adduser ARE terminal commands.
so is "vi /etc/passwd".
You should be working with a System Administrator though. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
amqsput |
Posted: Wed Mar 21, 2007 12:27 pm Post subject: |
|
|
Newbie
Joined: 21 Mar 2007 Posts: 8
|
|
Back to top |
|
 |
amqsput |
Posted: Wed Mar 21, 2007 1:15 pm Post subject: Re: How to create User and Group ID in Linux? |
|
|
Newbie
Joined: 21 Mar 2007 Posts: 8
|
Hi.
When I am trying to create a new user-Id and group -id "mqm" in Linux for WMQ Installation by using terminal command "useradd mqm" it says "useradd: group mqm exists - if you want to add this user to that group, use -g". Please, let me know steps to create a new user and group ID for
installation procedure. Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 21, 2007 1:42 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
it's pretty clear.
useradd mqm -g mqm _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
amqsput |
Posted: Wed Mar 21, 2007 1:49 pm Post subject: |
|
|
Newbie
Joined: 21 Mar 2007 Posts: 8
|
Thanks... the command is working... And mqm user is created successfully.... |
|
Back to top |
|
 |
|