LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 05-12-2005, 11:23 AM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
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
 
Old 05-12-2005, 11:27 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
It should be able to be mounted without a problem, and then accessed with the proper user or as root.
 
Old 05-12-2005, 11:34 AM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
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?
 
Old 05-12-2005, 11:48 AM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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.
 
Old 05-12-2005, 11:51 AM   #5
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
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 11:57 AM.
 
Old 05-12-2005, 12:03 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Mount it, then browse to /mnt/spare. They should be available.
 
Old 05-12-2005, 12:07 PM   #7
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
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.
 
Old 05-12-2005, 02:23 PM   #8
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Help....
 
Old 05-12-2005, 02:41 PM   #9
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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.
 
Old 05-12-2005, 03:35 PM   #10
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
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!
 
Old 05-12-2005, 03:52 PM   #11
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
No problem, I'm glad you got it working!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting from password protected zip files sanjith11 Linux - Software 4 03-21-2006 10:14 AM
extracting password protected rar files Cinematography Linux - Software 4 05-09-2005 09:48 PM
Password Protected rar files on Linux Mandrake 9.1 gregonite Linux - Newbie 2 01-23-2005 08:40 AM
How can I change e-mail password(or linux account password) with php in website?? yusuf Programming 1 05-28-2004 10:39 AM
mount -t //192.168.0.1/mnt /mnt/windows -o password='' generates error broadsoft Linux - Networking 3 08-07-2003 05:51 AM


All times are GMT -5. The time now is 05:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration