I have Ubuntu and Windows Vista installed on the same disk, different partitions.

I can access the Windows data, but each (first) time I access the NTFS partition, the system asks me for root password.

Can I somehow allow my user to mount/access those partitions automatically?

  • 1
    Can you provide an example of your /etc/fstab? This may be as simple as providing the "user" option in your NTFS entry. – Scaine Jan 1 '11 at 11:20
  • If you feel that you dont want to enter password on mounting and unmounting then one way is to edit sudoers file.

    sudo visudo
  • Add the following two lines at the end of your file.

    username ALL=(ALL) NOPASSWD:/bin/mount      
    username ALL=(ALL) NOPASSWD:/bin/umount 

    alt text

  • If you want to automount your drives at startup then install pysdm Install pysdm

    alt text


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.