To enable Ubuntu hard drive mounting, you need to enter a password.

Source: Internet
Author: User
Ubuntu 10.04 does not seem to have to enter the password when mounting the hard disk, which is not safe enough. If you want to mount the hard disk on Ubuntu, you need to enter the password. What should we do? Open the terminal: sudogedit/var/lib/polkit-1/localauthority/10-vendor.d/com. ubuntu. desktop. pkla there will be [Mounting, checking, etc. ofinte

When mounting a hard disk in Ubuntu 10.04, it seems that the password is no longer entered, so the security is not high enough. If you want to mount a hard disk in Ubuntu, you need to enter the password. What should we do?

Open the terminal:

Sudo gedit/var/lib/polkit-1/localauthority/10-vendor.d/com. ubuntu. desktop. pkla

There will be

[Mounting, checking, etc. of internal drives]
Identity = unix-group: admin
Action = org. freedesktop. udisks. filesystem-*; org. freedesktop. udisks. drive-ata-smart *
ResultActive = yes

[Change CPU Frequency scaling]
Identity = unix-group: admin
Action = org. gnome. cpufreqselector
ResultActive = yes

[Setting the clock]
Identity = unix-group: admin
Action = org. gnome. clockapplet. Mechanic .*
ResultActive = yes

Describe the top section. Change

# [Mounting, checking, etc. of internal drives]
# Identity = unix-group: admin
# Action = org. freedesktop. udisks. filesystem-*; org. freedesktop. udisks. drive-ata-smart *
# ResultActive = yes

[Change CPU Frequency scaling]
Identity = unix-group: admin
Action = org. gnome. cpufreqselector
ResultActive = yes

[Setting the clock]
Identity = unix-group: admin
Action = org. gnome. clockapplet. Mechanic .*
ResultActive = yes

In this way, you can enter the password during mounting!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.