General questions that do not fit in the above categories

Moderators: ongoto, slax

09, Truecrypt, and Permissions, VLC? -- SOLVED

Postby OhioYJ » Tue May 05, 2009 8:37 pm

So all my data, is on a truecrypt encrypted partition. When was running PCLinux08, you had to mount the truecrypt drive as root, then under my regular user name I could at least read the drive, just couldn't make any changes, but, I could make changes through the root terminal, which was tolerable.

Now since I've updated to PCLinux09, I can mount the truecrypt drive, but my user account can't see the folder at all. I can run nautilus as a super user, and view the folder, but then the problem is that a bunch of my videos are flash video that need to be played in VLC which can't be run as root?

Any kind of work around? Truecrypt used to have a -u (user mode) to make users able to access the drive, but that doesn't work anymore.

I need a way for VLC to run under a root account? Or a way to make my regular user account read the truecrypt drive. CHMOD and CHOWN don't seem to work for some reason on the truecrypt partition, I'm not sure why. This happens across 3 machines, so it's not just the one encrypted drive.
Last edited by OhioYJ on Wed May 06, 2009 10:29 pm, edited 1 time in total.
OhioYJ
Jr. Member
Jr. Member
 
Posts: 32
Joined: Tue Aug 19, 2008 7:06 pm

Re: 09, Truecrypt, and Permissions, VLC?

Postby sarcastic_bastard » Wed May 06, 2009 5:41 am

Not used truecrypt, so can't offer much of help there, but flash plays fine under totem, no need for VLC, so perhaps try loading Totem to play these, at least as a temp measure?
Remember this, the only stupid question is the one you don't ask.

"The thing about changing the world... is that once you do it, the world's all different."

Let's share our knowledge. Otherwise, what's the point?
sarcastic_bastard
User avatar
Hero Member
Hero Member
 
Posts: 1705
Joined: Thu Oct 25, 2007 9:08 am
Location: Western Australia

Re: 09, Truecrypt, and Permissions, VLC?

Postby OhioYJ » Wed May 06, 2009 8:03 am

Thanks for the reply. I installed Totem, it wants a "flash demuxer" to play the files? I didn't find anything in synaptic for that?
OhioYJ
Jr. Member
Jr. Member
 
Posts: 32
Joined: Tue Aug 19, 2008 7:06 pm

Re: 09, Truecrypt, and Permissions, VLC?

Postby bit_flipper » Wed May 06, 2009 4:37 pm

OhioYJ wrote:Truecrypt used to have a -u (user mode) to make users able to access the drive, but that doesn't work anymore.


Issue commands:
Code: Select all
su
visudo


EDIT/Change section FROM:
Code: Select all
# User privilege specification
root    ALL=(ALL) ALL


TO:
Code: Select all
# User privilege specification
root    ALL=(ALL) ALL
<userID>    ALL=NOPASSWD: /usr/bin/truecrypt


Where: <userID> in your case would be OhioYJ (your login user id) on the line you insert. Example:
Code: Select all
OhioYJ    ALL=NOPASSWD: /usr/bin/truecrypt


WARNING: Using command visudo implies that you know how to
use the vi editor. If you don't know how to use the vi editor, I suggest that you learn by first practising on a test text file before attempting to use command visudo.

The following man pages may be of interest to you:
vi(1) or vim(1)
visudo(8)
sudoers(5)
bit_flipper
Full Member
Full Member
 
Posts: 100
Joined: Wed Feb 18, 2009 9:34 am

Re: 09, Truecrypt, and Permissions, VLC?

Postby OhioYJ » Wed May 06, 2009 10:29 pm

bit_flipper wrote:Issue commands:
Code: Select all
su
visudo

.....


Many thanks, my hat's off to you kind sir. You have solved a problem I've been working around for quite a while now in Linux. Everything works great now, I can mount the truecrypt drive as a normal user and play my video files in VLC without issue. Great Solution. Thanks again!
OhioYJ
Jr. Member
Jr. Member
 
Posts: 32
Joined: Tue Aug 19, 2008 7:06 pm

Forum Statistics

Who is online

Users browsing this forum: No registered users and 1 guest

Options

Return to PCLinuxOS Gnome General