Aha! Easy way is shutdown the VM then rename the VM or move it. Then start it up again using the GUI running as whatever user you need.
Eto: Using CLI, First rename the vmdk files using *vmware-vdiskmanager* vmware-vdiskmanager -n Red\ Hat\ Enterprise\ Linux\ 4.vmdk rhel-tb23.vmdk Then change the vmx file name too for conformity mv Red\ Hat\ Enterprise\ Linux\ 4.vmx rhel-tb23.vmx Finally edit the vmx file to change the vmdk file it accesses nano rhel-tb23.vmx # change this line: scsi0:0.fileName = "Red Hat Enterprise Linux 4.vmdk" # to this line: scsi0:0.fileName = "rhel-tb23.vmdk" now you can open and play the new vmx (be sure to create a new uuid) On Tue, Aug 19, 2008 at 9:55 PM, Rommel Asibal <[EMAIL PROTECTED]> wrote: > Our company admin gave me a VM that i used to play with but didnt give me > permissions to do any changes to it. I have sudoers so i can change > settings via CLI but cant change them through the GUI, since you cant > sudoers after logging in there. The VM is set to autorun on host startup so > if there is an outage that VM loads up first and "steals" my IP (lol im too > lazy to edit the settings anymore on the old box). So i have to login and > init 0 that thing before people can access the real server and not the old > thing. > > I guess i could ask for their help in changing permissions but tinkering > around and learning things is so much funner; > > > On Tue, Aug 19, 2008 at 6:05 PM, Michael Mondragon < > [EMAIL PROTECTED]> wrote: > >> Hi Rommel, >> >> I'm wondering why you want to try to change this in particular. Are >> you trying to delete this image? Move it to other directory or >> something? >> >> >> Cheers, >> Michael >> >> On Tue, Aug 19, 2008 at 4:12 PM, Rommel Asibal <[EMAIL PROTECTED]> >> wrote: >> > Has anyone used ever used vmware-cmd to change user permissions? >> > >> > I did a >> > >> > [EMAIL PROTECTED] Virtual Machines]# vmware-cmd /var/lib/vmware/Virtual\ >> > Machines/TestVM27/Red\ Hat\ Enterprise\ Linux\ 4.vmx setrunasuser -U >> user1 >> > Password for user user1: >> > setrunasuser() = >> > >> > i tried that but setrunasuser didnt seem to give me a change.... >> > >> > when i run >> > >> > vmware-cmd /var/lib/vmware/Virtual\ Machines/TestVM27/Red\ Hat\ >> Enterprise\ >> > Linux\ 4.vmx getrunasuser >> > getrunasuser() = root >> > >> > it still returns root... >> > >> > Hopefully someone can shed some light on something that I'm missing. I >> also >> > did a chown on all the files so that user1 has permissions on all files. >> > >> > VMWare Server 1.05 running on Centos 4.6 >> > >> > -- >> > Love God above all else :) >> > >> > >> > _________________________________________________ >> > Philippine Linux Users' Group (PLUG) Mailing List >> > http://lists.linux.org.ph/mailman/listinfo/plug >> > Searchable Archives: http://archives.free.net.ph >> > >> >> >> >> -- >> MikeMâ„¢ >> B958 D054 C841 8B42 BCD5 >> 443E 5B9A 0FAE BDF7 EA35 >> _________________________________________________ >> Philippine Linux Users' Group (PLUG) Mailing List >> http://lists.linux.org.ph/mailman/listinfo/plug >> Searchable Archives: http://archives.free.net.ph >> > > > > -- > Love God above all else :) > -- Love God above all else :)
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

