Access NTFS partitions without providing root password?

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?


Solution 1:

  • 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