Author Topic: need access to root user's file while using LIVE CD  (Read 1052 times)

shez1983

  • Guest
need access to root user's file while using LIVE CD
« on: February 20, 2010, 01:53:58 PM »
ok for various reasons.. my pc linux os installation wont work. So I am using LIVECD version (Gnome by the way) and someone (coffeetime) kindly told me about the nautilus command to run in the terminal.

The problem with this is that on my pc linux installation there are TWO users: one is root and the other is shez. Now I can see the files of shez when i do that command, but cant see files of root..
another thing I would also like to SEE all the extra folders in my pc linux installation (ie bin, var, etc)

Any help would be greatly appreciated.

(didnt know which forum this fitted into so placing it here)

Offline Rudge

  • Hero Member
  • *****
  • Posts: 9701
  • I'm Just A Dog.
Re: need access to root user's file while using LIVE CD
« Reply #1 on: February 20, 2010, 02:33:45 PM »
There's probably a "gui" solution but this is why the CLI is so powerful. Open a Terminal and type-
"cd ../../"

and then type

"ls"

That will show you all the files and directory's in root.

You can then "cd" to any directory shown. Pardon me if you already know this and are having a problem that I don't understand. Your'e post does not make it clear what your problem really is.

Welcome. Lots of friendly help here, I assure you of that.  ;)    
« Last Edit: February 20, 2010, 02:37:51 PM by rudge »


-If you wish to make an apple pie from scratch, you must first invent the universe-  Carl Sagan

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 833
Re: need access to root user's file while using LIVE CD
« Reply #2 on: February 21, 2010, 09:13:43 AM »
Do you have / and /home/shez on separate partitions? If so, perhaps / isn't mounted.
Using Linux for over 18 years and still counting.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: need access to root user's file while using LIVE CD
« Reply #3 on: February 21, 2010, 09:56:48 AM »
i don't understand completely but maybe he needs to access a home user folder that has a password from another different linux than the one it created this home folder?

i don't know ho to do it from a livecd
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15310
  • ┌∩┐(◕_◕)┌∩┐
Re: need access to root user's file while using LIVE CD
« Reply #4 on: February 21, 2010, 10:11:31 AM »
Quote
another thing I would also like to SEE all the extra folders in my pc linux installation (ie bin, var, etc)

shez1983 Is there a reason why you just want SEE them? (see the filenames / file types maybe ?)

Do you know the root password on the account your trying to access?

T6

Quote
i don't know ho to do it from a livecd

Nor me - howabout once the files/folders are viiewable/accessable, would the OP be able to right click on them (in Konqueror) and do > Actions > Open as Root > enter password and gain access?

Or possibly using Krusader in Root Mode - simply be able to access the files that way ? or am I being too simplistic and not understanding the problem correctly?
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Xero

  • Sr. Member
  • ****
  • Posts: 468
Re: need access to root user's file while using LIVE CD
« Reply #5 on: February 21, 2010, 09:22:41 PM »
run
Code: [Select]
su - to log in (that was su -, not just su) to roots home, the run nautilus from there, you shooukld be able to see root's stuff from there.
There is no shame in saying "I don't know".

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 833
Re: need access to root user's file while using LIVE CD
« Reply #6 on: February 22, 2010, 09:36:55 AM »
Another thought: when using the live cd are you logged in as root? You should be. There shouldn't be any permission or password problems on the installed partitions when using a live cd, unless they are encrypted. Yes, a live cd bypasses all standard security. Just make sure all hard drive partitions are mounted; they usually aren't by default.
Using Linux for over 18 years and still counting.

shez1983

  • Guest
Re: need access to root user's file while using LIVE CD
« Reply #7 on: February 26, 2010, 01:34:04 AM »
sorry for the late reply. thanks for the help.

basically i messed up my linux installation so before reinstalling it again, i wanted to get all my files off from that installation.