Truecrypt - question on visudo

Installed Truecrypt onto openSUSE 11.3 (KDE) and noticed that Truecrypt needed to be started as root.

Modified visudo using YAST as

username ALL = NOPASSWD: /usr/bin/truecrypt

However, when copying files from my backup drive into the Truecrypt partition, there is an access problem (couldn’t remember actual error message)

In Konsole , updated visudo to

username ALL = (ALL) NOPASSWD: /usr/bin/truecrypt

Copying is allowed and working fine.

Question:

  1. What is the difference between the above two visudo setting?

  2. How to updated visudo to the second setting in YAST?

  3. How to change the editor for visudo in konsole using nano instead of vi?

On 2010-08-10 12:36, michalng wrote:
>
> Installed Truecrypt onto openSUSE 11.3 (KDE) and noticed that Truecrypt
> needed to be started as root.
>
> Modified visudo using YAST as
>> username ALL = NOPASSWD: /usr/bin/truecrypt
>
> However, when copying files from my backup drive into the Truecrypt
> partition, there is an access problem (couldn’t remember actual error
> message)
>
> In Konsole , updated visudo to
>> username ALL = (ALL) NOPASSWD: /usr/bin/truecrypt
> Copying is allowed and working fine.
>
>
> Question:
>
> 1. What is the difference between the above two visudo setting?

Visudo is the program used to change the settings of “sudo”.

The first “all” is the hosts. The second is the user to change to. Please read the manual (man sudo).

> 2. How to updated visudo to the second setting in YAST?

Explain.

There is only one sudo configuration.

>
> 3. How to change the editor for visudo in konsole using nano instead of
> vi?

Change the EDITOR environment variable.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))