PDA

View Full Version : Someone running Fedora in virtual enviroment


sapaapu
19th January 2011, 10:14 PM
Hello all.

Im running fedora 14 in a virtual enviroment (until i finish my sand box) and i have some questions.

This what im using for now:
PC:
AMD Phenom IIx4 processor
Windows 7 x 64bits
RAM 4GB
2 HDD 320GB

Virtual:
VMware Player: version 3.1
fedora 14 : Fedora-14-i686-live-Desktop.iso

Im trying to create new user but i dont know why when i restart the fedora the new user created doesnt exist.

I tryed to used both ways: GUI and Terminal.
GUI: log on as LIveUser, System>Administration>Users and groups> add new user>New user created and press ok. I see the new user name in the User Manager window. when i try to test it. close and try to login as the new user i get this : Authentication failure.
So i log on as live user again and check users and groups and the new user doesnt exist

Question #1: why?

Terminal: I i think i didnt or miss something using the GUI so i decided to do it using terminal> Log on as live user > Applications> system tools> terminal
switch to root : su -
im in root so i write: su -c "useradd NEWUSER -c 'NEWUSER' -p NEWUSER PW"
check user and groups window... my new user appears, restart fedora and try to log on as my new user and same: Authentication Failure.
Check on users and groups.... no new user again.

Question: Why? any idea? you think its the virtual box?

any answers will be appreciated

smr54
19th January 2011, 11:54 PM
I've had no problem adding users in virtual environments. Too many quotes in the command?

Make it easy on yourself

su -
(put in passwd)

adduser <newuser_name>

passwd <newuser_name>

retype the password when requested

exit
(which puts you back in your own account)

See if that works.

sapaapu
20th January 2011, 12:43 AM

thank you i will try that.
One more thing you didnt have any problem either when you used the GUI to create new users?

smr54
20th January 2011, 01:34 AM
I never used it. I don't believe I have the program installed--I do rather minimal installs, not putting in Gnome.

jroa1
20th January 2011, 02:49 AM
So i log on as live user again

If you are using the live user account, then you did not install Fedora. You are running the cd live in the virtual machine and therefore, every time you restart the computer, everything goes back to the default. Just install the operating system in the virtual machine and then it will keep all of your settings and changes. To install it, click on the desktop icon that says "Install to Computer" and follow the directions. Let us know if you are still having problems after that.

sapaapu
20th January 2011, 03:31 AM
If you are using the live user account, then you did not install Fedora. You are running the cd live in the virtual machine and therefore, every time you restart the computer, everything goes back to the default. Just install the operating system in the virtual machine and then it will keep all of your settings and changes. To install it, click on the desktop icon that says "Install to Computer" and follow the directions. Let us know if you are still having problems after that.

That was true, i didnt know that i have to do that step.
thanks.

smr54
20th January 2011, 03:34 AM
I'd say I'm getting old, but I've been there awhile. I'm sorry sapaapu, I completely missed the live user part of your post. Yes, as jroa1 says, that's your problem with it not staying between reboots.

A live CD runs from the CD--it's a good way to test something before installing it.
While there are ways, with some CDs, or at least USB live versions, to keep your changes between reboots, generally speaking, the changes will be lost with a reboot.

pythagorean
23rd January 2011, 03:05 PM
If you install the live version as a virtual machine then there will be some things you need to do to get it to work properly like install kernel-devel and kernel-headers and gcc

I also found that installing system-config-services was helpful.