If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
Please do not use the CODE tag when pasting content that contains formatting (colored, bold, underline, italic, etc).
The CODE tag displays all content as plain text, including the formatting tags, making it difficult to read.
Announcement
Collapse
No announcement yet.
How do I make it a requirement to use a password to access NTFS?
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?
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.
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.
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.
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.
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.
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.
Comment