Ask Your Question
0

Truecrypt requires admin priviledges

asked 2012-06-11 05:37:19 -0500

user2218 gravatar image

Truecrypt demands that I have administrator privileges, but I am using an administrator account in Fedora 17 and have entered my admin password when truecrypt asked for it.

So, why then am I prompted with this message when trying to mount an encrypted container?

Failed to obtain administrator privileges: sudo: sorry, you must have a tty to run sudo

To enable use of 'sudo' by applications without a terminal window, please disable 'requiretty' option in '/etc/sudoers'. Newer versions of sudo automatically determine whether a terminal is required ('requiretty' option is obsolete).

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2012-09-13 22:36:24 -0500

sferich888 gravatar image

The error you are seeing is likely due t out not having a tty terminal,not your permissions.

Keep in mind that sudo is an assertion that your root not that your actually root. So my guess is that your sudoers file has a setting for not allowing tty sessions or that it requires one for you to use sudo and that that is the issue.

edit flag offensive delete link more
0

answered 2012-09-14 02:09:19 -0500

ZenDark gravatar image

You can disable the require tty option for your user:

sudo visudo

Add the following line to the end of the file

Defaults:username !requiretty

Where username is the name of your administrator account.

Save and close the file and that's all

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-11 05:37:19 -0500

Seen: 5,049 times

Last updated: Sep 14 '12