Announcement

Collapse
No announcement yet.

How do I make it a requirement to use a password to access NTFS?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I make it a requirement to use a password to access NTFS?

    Kubuntu used to require a password to access NTFS but now I have access without password requirement. Does anyone know how to set that as a requirement?

    Thanks

    #2
    Re: How do I make it a requirement to use a password to access NTFS?

    I found some instructions but I can't understand them. Could someone help me interpret this.

    Access Handling and Security


    By default, files and directories are owned by the effective user and group of the mounting process and everybody has full read, write, execution and directory browsing permissions. If you want to use permissions handling then use the uid and/or the gid options together with the umask, or fmask and dmask options. Windows users have full access to the files created by ntfs-3g.

    Full ownership and permission support, including Windows user mapping and POSIX file system compliance, is provided by the Advanced NTFS-3G driver.

    If ntfs-3g is set setuid-root then non-root users will be also able to mount volumes.

    Comment


      #3
      Re: How do I make it a requirement to use a password to access NTFS?

      See the options for ntfs file systems in man mount. Especially the part about setting the UID and GID. By default, when you mount a ntfs file system, unless you specify otherwise, only root can access that system.

      Comment


        #4
        Re: How do I make it a requirement to use a password to access NTFS?

        I see what BigCityCat is talking about. I too, can access my ntfs volume without supplying a password for root access. This is

        weird to see for me also. I've not tried nor will I intentionally try to access a hibernated ntfs volume. I'll try to remember and

        post about it if I try it by accident sometime in the future. I am curious to see results of this posting, however. Enjoy, All!

        Comment


          #5
          Re: How do I make it a requirement to use a password to access NTFS?

          Originally posted by Detonate
          See the options for ntfs file systems in man mount. Especially the part about setting the UID and GID. By default, when you mount a ntfs file system, unless you specify otherwise, only root can access that system.
          See that is what I don't understand because if it were root then it should ask for a password but it's not. I can access it and I can paste files into it and all the while the ntfs is not operational . I mean in the sense that it's security is not activated. IE Norton is not scanning and the firewall is not blocking. If I placed a file that had a Virus in it, it would not respond until I started a scan. I'm not sure if someone could hack into my Linux drive as a back door to corrupt my ntfs. Thats why I want it to require a password. I just don't know how to set it up.

          Comment


            #6
            Re: How do I make it a requirement to use a password to access NTFS?

            How are you mounting it? With an entry in your fstab, or by clicking on an icon or from the command line?

            Comment


              #7
              Re: How do I make it a requirement to use a password to access NTFS?

              By opening Dolphin and clicking on volume ntfs.

              Comment


                #8
                Re: How do I make it a requirement to use a password to access NTFS?

                I see. I think your system is setup to allow any user to mount it that way, and gives access to all users. I don't use dolphin or KDE so I'm not really sure how to change that. But there is a place somewhere that you can change who can mount file systems. You need to reset that so that only root can mount file systems. Another solution would be to have the file system automatically mounted at boot using a fstab entry that defines the desired permissions.

                Comment


                  #9
                  Re: How do I make it a requirement to use a password to access NTFS?

                  I think there is a property you can set in PolicyKit that will force all (certain?) mounts to require a password (i.e. admin authority). It seems like many of the actions that were present in JJ are gone now in KK. I don't know if you can add them back or not. Try googling for information on Policykit.

                  Comment


                    #10
                    Re: How do I make it a requirement to use a password to access NTFS?

                    Okay thanks, let me check.

                    Comment


                      #11
                      Re: How do I make it a requirement to use a password to access NTFS?

                      Can't figure it out.

                      Comment


                        #12
                        Re: How do I make it a requirement to use a password to access NTFS?

                        This bug seems to be related to your problem. I'm pretty sure you can manually edit the policykit xml files to add this function back but I think you are going to have to work out for yourself how to do it.

                        https://bugs.launchpad.net/ubuntu/+s...it/+bug/450687

                        Comment


                          #13
                          Re: How do I make it a requirement to use a password to access NTFS?

                          Oh okay I will continue to follow that report. Hopefully there will be an answer in the future.

                          Comment

                          Working...
                          X