LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 11-19-2004, 04:06 PM   #1
flux*
Newbie
 
Registered: Mar 2004
Location: Denmark
Posts: 19

Rep: Reputation: 0
knoppix - login on localcomputer?


I've have just downloaded knoppix and I now wondering how I log in on the local file system. I have fc3 and winme installed on my computer.
In knoppix, how did I log in as a local user, so i can get read/write access to my files on the computer?
 
Old 11-19-2004, 06:38 PM   #2
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
if you use NTFS as the filesystem, when you load up knoppix you have to mount the drive...most likely hda1..

linux doesnt have write access to NTFS, so if you want to mount the drive, you'll only be able to read it..

as for the fc3 partition...i'm gonna assume its hda2 or hdb1 (depending on weather its 2 drives, or one partitioned one) anyway, try somthing like this

mount /dev/hda2 /mnt/hda2
 
Old 11-20-2004, 03:01 AM   #3
flux*
Newbie
 
Registered: Mar 2004
Location: Denmark
Posts: 19

Original Poster
Rep: Reputation: 0
I use ext3 for my fc3 partitions. And I need to get root access to my drive so i can edit some files.
 
Old 11-20-2004, 06:38 PM   #4
fatrandy13
Member
 
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230

Rep: Reputation: 30
ok so as root mount the drive, it should be pretty simple...type 'df' to find out what partition the ext3 filesystem is on... say its on hda2 then type

mount /dev/hda2 /mnt/hda2

then if you need write access and its not giving it to you right away...change the permissions for the drive...that should be it
 
Old 11-21-2004, 08:29 AM   #5
flux*
Newbie
 
Registered: Mar 2004
Location: Denmark
Posts: 19

Original Poster
Rep: Reputation: 0
Yes it's no problem to mount the filesystem. But how can I get read/write access. CanI use the "chroot" command maybe?

Last edited by flux*; 11-21-2004 at 08:31 AM.
 
Old 11-26-2004, 12:04 PM   #6
Nikolay
LQ Newbie
 
Registered: Jun 2004
Location: United Kingdom
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
Hello,
no chroot for this
simply

mount -rw /dev/hda /mnt/hda

-rw read write argument

hda add number which you need ie: hda1 or hda2

Nikolay
 
Old 11-26-2004, 12:52 PM   #7
flux*
Newbie
 
Registered: Mar 2004
Location: Denmark
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks that works great..
But I'am still thinking about how I can get the read/write access with out the rootpassword..
 
Old 11-26-2004, 01:07 PM   #8
Nikolay
LQ Newbie
 
Registered: Jun 2004
Location: United Kingdom
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
ok I see. maybe I understood it wrong.
if you wanna get rw access to your Fedora partition. obviously some directories gonna be locked there. so you want be able to get acces to them.if its what you want you need to:
mount -rw /dev/hda /mnt/hda
chroot /mnt/hda
su (not sure if it will work but it might)
put your root password for fedora (without it I cannot see the solution)
then you can work from there as your / directory
if you wanna run the X based programs you have to
export DISPLAY=localhost:0.0

Nikolay
 
Old 11-26-2004, 09:30 PM   #9
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
DONT DO WHAT NIKOLAY suggests ..
why chroot ? that's to change the mount point of your root file system.

The issue you most likely have is the user-id's in FC are different than the user ID's on knoppix ..

One way to do it is to go in a root and change the permission on all folders to +666 .. it's dangerous but other solutions are probably
similarly whaky..

second solution is to create another user on FC (when running FC) and make sure it's userID and groupID is same as knoppix user Id you are using
Change ownership of the folders you want accessible to this user (chown command).. now you "might" be able to do it.

DONT CHROOT ...
 
Old 11-27-2004, 05:34 AM   #10
Nikolay
LQ Newbie
 
Registered: Jun 2004
Location: United Kingdom
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
hmm wasn't sure about it.
just tried it myself
true. didn't work,it was a guess, just in case sorry, as i understand when you su you get Knoppix su permission.which is not the one needed.

Nikolay
 
Old 11-29-2004, 04:47 AM   #11
flux*
Newbie
 
Registered: Mar 2004
Location: Denmark
Posts: 19

Original Poster
Rep: Reputation: 0
It's wired that's ins't easy to log in on a computer. I read on the knoppix site that's it could be used to system rescue, but if you can't get write access....

So I used the fedora rescue CD instead, it's much easy'er. With the rescue CD you also just get read/write access without any password.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root login in Knoppix bvsciguy Linux - Newbie 8 05-09-2005 08:39 PM
Automatic login (Knoppix) msie02 Linux - General 1 10-24-2004 03:09 PM
remote login via knoppix edrabs Linux - Networking 1 02-10-2004 09:11 AM
Knoppix login! Must have!! FearPasion710 Linux - General 5 09-26-2003 05:43 PM
KDE in Knoppix hangs on Login as diferent user cpis Debian 0 09-24-2003 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration