PDA

View Full Version : Troubles



HappyDays
09-25-2005, 11:45 PM
Alls I want to do is be able to move some files on my NTFS drive.

I was told to use the following commands:

"mount -t ntfs /dev/hdaX /mnt/hdaX"

- or -

"mount -o remount,rw /mnt/"

Both of which say "mount: only root can do that"

So I go into settings and go to Users and Password, and I thought that I needed to change the password so it logs my in as root. So I read this:

"There is none; all passwords are locked/scrambled by default. You can set it by going Knoppix Menu->Root Shell and typing "passwd", then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>-<alt>-F2 to get at the text console with already opened root shell.

However, in some older versions of Knoppix, if you type 'sudo -s', it will ask for a password. If you simply press return without entering anything, it will tell you 'Authentication Failed.""

And it takes my password, even though my curser does not move, but when I click change password in the Control Panel it says that my password is incorrect.

I have been asking around for the past week can someone please help me.

Harry Kuhman
09-26-2005, 12:11 AM
http://www.knoppix.net/forum/viewtopic.php?t=16574

CrashedAgain
09-26-2005, 06:18 AM
Do check out & heed moderator Kulman's link.

but...

In answer to your question..

If you type 'sudo passwd' in a normal shell (or 'passwd') in a root shell, it *should* accept & update your root password.

However, since all you want to do is mount a drive, 'sudo mount...' should do that without needing to update the root password. Sudo will allow you to do one command as root without needing a password unless this has been changed in recent versions of knoppix.

Having said that, be aware that there are problems writing to ntfs drives from linux and directly writing to your ntfs drive could trash the filesystem on that drive. As far as I know, the only way to safely write to an ntfs partition from linux is to use 'captive ntfs' which you will have to set up on your system before you can use it. I can't tell you how to do this, I don't use it as I have no ntfs partitions.