finding the userid

Asked by Bigshed

Hi,

Just installed my first cloud using ubuntu but when I do a bundle it is requiring a -u userid. Where do I find this ? I can not see it on the same page as my cert or in the eucarc file ?

or is there a way which means I do not need it ?

My cloud is running as a pair of VM's in parallels just to see how it works having only used AWS before.

Cheers

David

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu eucalyptus Edit question
Assignee:
No assignee Edit question
Solved by:
Bigshed
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I believe the first user you create has the UID of 1000

if you run:

id <user name>

e.g.

id andy

you will see the UID:

uid=1000(andy) gid=1000(andy) groups=1000(andy),4(adm),20(dialout),24(cdrom),46(plugdev),106(lpadmin),118(admin),122(sambashare)

HTH

Revision history for this message
Bigshed (dfwoodhouse) said :
#2

The man page says it is 12 digits so I thought it would be something else !! Do I just preceed with 0 ?

Cheers

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

0 is root

not sure then, not heard of a 12 digit ID. Maybe someone else can contribute.

Revision history for this message
Ryan Dwyer (ryandwyer) said :
#4

It doesn't sound like it's asking for a Unix user ID, but rather a user ID specific to the software.

Revision history for this message
Bigshed (dfwoodhouse) said :
#5

The help for euclyptus (euca-bundle-image) says :

REQUIRED PARAMETERS

-i, --image Path to the image file to bundle.

-u, --user User ID (12-digit) of the user who is bundling the image.

OPTIONAL PARAMETERS

Cheers

David

Revision history for this message
Bigshed (dfwoodhouse) said :
#6

Found it ... it was in ucarc all along but not exported it was just used in an alias.

Thank you