Tuesday, May 14, 2013

How do I create user accounts using a script that reads a list of names from a file?

Q. It creates user accounts for each name. This is on a linux virtual machine.

A. You'll have to write a shell script that reads the names and information from the file one line at a time, then pipes it to a tool like adduser, which will then add the user information to the appropriate system files. This has to be done as root or with admin privileges.

How can I access a network shared (NFS) linux partition on my windows machine?
Q. One way to do it is install a linux virtual machine on my windows (using vmware/vpc) and use it to mount the NFS partition. Will it work? Is there any other way? Some other software.
I don't have admin access to the partition. Basically, I dont have any support from my sys admin too. (hypothetically :)

A. First, you can try Start->Run and enter //servername

Do you have admin access to the Linux machine? You could install a Samba server to it and mount it from there.

What are the down sides of using a virtual machine instead of a host machine?
Q. Currently I'm using windows 7 and wanted to install Linux Mint. I thought of using a virtual machine because i don't want to reboot too much. So does the performance go down if i use a virtual machine? How much of the memory should i dedicate to the virtual machine?

A. It's OK to get a quick look at a different OS, but I wouldn't recommend it for long term use.
Your 'virtual machine' uses virtual hardware for important things like your sound and graphics card, so you'll never see it how it's supposed to be.

You'd be better of using a 'wubi' type install (called mint4win in earlier versions of Mint, but sadly not available in the latest version) Wubi installs the Linux OS inside a Windows folder and automatically adjusts your Windows boot loader. You do need to reboot to use it, but you get the full power of your system with the real sound and graphics card used - and obviously all the RAM too.

Ubuntu and a lot of it's clones can all utilise the 'wubi' method. It's the ideal way to run Linux for beginners. No partitioning or messing with boot loaders, which are the main sticking points for most newcomers. It's much faster than a 'live' CD and it uses your real hardware, unlike a virtual install



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment