Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-12-2005, 10:23 AM
|
#1
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Rep:
|
accessing files in password protected account on another mnt
My first copy of Linux died on me. I created another partition so I could install a fresh copy of Linux.
Is there a way I can access and view the files in my password protected account located in my original Linux partition through Konqueror after the drive has been mounted? Will the drive/directory magically appear in the mnt folder after I mount the partition with this code:
mount -t ext3 /dev/hda3 /mnt/spare
|
|
|
05-12-2005, 10:27 AM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
It should be able to be mounted without a problem, and then accessed with the proper user or as root.
|
|
|
05-12-2005, 10:34 AM
|
#3
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Original Poster
Rep:
|
Quote:
Originally posted by Matir
It should be able to be mounted without a problem, and then accessed with the proper user or as root.
|
I don't know what you mean. The user is associated with a different installation of Linux. I need to access the files on that different version from my current version. Before I try that code, I want to make sure I understand what to expect.
1) I type in that code through the command prompt
2) I go to the mnt directory made by that code
3) I click through the directories to find my account
4) I'm expecting it to say "permission denied" when I try to enter my account
What I want to know is, at this point - where do I type in my password to get into my account?
|
|
|
05-12-2005, 10:48 AM
|
#4
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
The files themselves are not "password" protected, but associated with a particular account (a particular numeric ID, to be specific). A user by the same numeric id (or root) can access these files without a problem, regardless of installation.
|
|
|
05-12-2005, 10:51 AM
|
#5
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Original Poster
Rep:
|
Quote:
Originally posted by Matir
The files themselves are not "password" protected, but associated with a particular account (a particular numeric ID, to be specific). A user by the same numeric id (or root) can access these files without a problem, regardless of installation.
|
I'm a Linux newbie. I don't know all of the code I need to type in to make this work.
The Linux I'm using now is installed on HDA7. I need to get files from a password protected account on HDA6. How do I get to those files through the GUI after I mount HDA6 with this code?
mount -t ext2 /dev/hda6 /mnt/spare
Last edited by Cinematography; 05-12-2005 at 10:57 AM.
|
|
|
05-12-2005, 11:03 AM
|
#6
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Mount it, then browse to /mnt/spare. They should be available.
|
|
|
05-12-2005, 11:07 AM
|
#7
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Original Poster
Rep:
|
After I typed in the code....
Quote:
[root@localhost tony]# mount -t ext2 /dev/hda6 /mnt/spare
mount: mount point /mnt/spare does not exist
|
Ugg, working with Linux has made me feel so miserable. Thank you for your help and time so far, Matir.
|
|
|
05-12-2005, 01:23 PM
|
#8
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Original Poster
Rep:
|
Help....
|
|
|
05-12-2005, 01:41 PM
|
#9
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
Sorry, ran out to lunch... didn't have more time for LQ. mkdir -p /mnt/spare and try your command again. You need to have created the mountpoint first.
|
|
|
05-12-2005, 02:35 PM
|
#10
|
Member
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357
Original Poster
Rep:
|
Quote:
Originally posted by Matir
Sorry, ran out to lunch... didn't have more time for LQ. mkdir -p /mnt/spare and try your command again. You need to have created the mountpoint first.
|
Woo hoo! That worked! Thank you so much for your time, patience, and help!
|
|
|
05-12-2005, 02:52 PM
|
#11
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
No problem, I'm glad you got it working!
|
|
|
All times are GMT -5. The time now is 05:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|