Results 1 to 10 of 11
Hi,
Cannot do useradd in my UML instance:
Code:
# useradd kalle
Authentication failure
# more fedora-release
Fedora Core release 5 (Bordeaux)
# uname -a
Linux localhost.localdomain 2.6.27.9 #1 Tue ...
- 09-24-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
useradd not working in UML
Hi,
Cannot do useradd in my UML instance:
Any ideas?Code:# useradd kalle Authentication failure # more fedora-release Fedora Core release 5 (Bordeaux) # uname -a Linux localhost.localdomain 2.6.27.9 #1 Tue Dec 16 11:01:57 CET 2008 i686 i686 i386 GNU/Linux
Thanks!
/Mats
- 09-24-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
From the # prompt I presume you have logged in as root to do this?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-24-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
- 09-25-2009 #4Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
Found this additional information in /var/log/secure when issuing the useradd command:
Not much, I know...Code:Sep 25 04:20:59 localhost useradd[1190]: User root: Authentication failure

/Mats
- 09-25-2009 #5forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,097
You could try it like this:
or...Code:/sbin/useradd
...still with root permissions, of course.Code:/usr/sbin/useradd
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 09-25-2009 #6Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
- 09-25-2009 #7Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Are you trying to add the user from a remote terminal, such as a telnet or ssh session?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 09-28-2009 #8Just Joined!
- Join Date
- Sep 2009
- Posts
- 6
Trying to do this within a UML instance, which has previously been started like this:
I don't know if that corresponds to a remote telnet or ssh session? (Would that be a problem for useradd?) I guess I'm just starting the UML process, so I'm not really doing a remote login anywhere...Code:${DIR}/linux-2.6.27.9-vlan-hostfs-sctp ubda=${COWFS},${FILESYSTEM} mem=1024M eth0=daemon,${MACADDR},unix,/tmp/uml.ctl
/Mats
- 09-28-2009 #9
- 09-29-2009 #10Just Joined!
- Join Date
- Sep 2009
- Posts
- 6


Reply With Quote
