maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs) (https://talk.maemo.org/showthread.php?t=38536)

oweng 2010-01-19 19:30

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Yes this is now working, but default file manager is useless... I'd suggest using GPE file manager.

Thanks all

Nathan 2010-01-20 06:51

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Truecrypt is now in Extras-Testing!

Nathan

atunguyd 2010-01-20 11:48

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
any tips on mounting a truecrypt folder and allowing user access to it.

If I try to run "truecrypt /media/mmc1/data.crypt /media.tc" as user it askes me for the administrator password but wont accept it for some reason.

If I change to root and run the same command I can mount my truecrypt file and see it's contents as user root but it is not available for normal users.

Cant chmod the directory /media/tc either

Nathan 2010-01-20 16:47

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by atunguyd (Post 484012)
any tips on mounting a truecrypt folder and allowing user access to it.

If I try to run "truecrypt /media/mmc1/data.crypt /media.tc" as user it askes me for the administrator password but wont accept it for some reason.

If I change to root and run the same command I can mount my truecrypt file and see it's contents as user root but it is not available for normal users.

Cant chmod the directory /media/tc either


Yeah, their is two methods that should work.
1. Create the /media/tc folder as owned as user, and then mount your tc folder as a sub-folder of /media/tc
2. Edit your sudoers, and add the truecrypt binary object as one that requires no password. (I probably should do this by default!)

Nathan

oweng 2010-01-20 22:40

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Ok - So I've discovered that there is no need to re-invent the wheel.

To get a simple file browser and CIFS SAMBA i.e. windows shares,
I would suggest
in this order
1. Install Easy Debian
2. Run Debian LXDE ('more' menu)
3. Run 'Terminal Emulator'
4. type 'apt-get update'
5. type 'apt-get install rootsh'
6. type 'apt-get install smbclient'
7. type 'apt-get install konqueror'
now you have access to konqueror (familiar app with tabbed browsing for local files and any smb://servername share

All very easy and confirmed working.

Very happy!

qole 2010-01-20 22:53

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
oweng: just some small changes:

1. Install Easy Debian
2. Run Debian chroot (red swirl in 'more' menu)
3. type 'apt-get update'
4. type 'apt-get install smbclient'
5. type 'apt-get install konqueror'
6. Run Debian LXDE
now you have access to konqueror...

atunguyd 2010-01-21 04:15

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by Nathan (Post 484548)
Yeah, their is two methods that should work.
1. Create the /media/tc folder as owned as user, and then mount your tc folder as a sub-folder of /media/tc
2. Edit your sudoers, and add the truecrypt binary object as one that requires no password. (I probably should do this by default!)

Nathan

Nathan,

For the record point one does not work - no matter who the owner of /media/tc is once truecrypt mounts it, the owner seems to become whomever called truecrypt.

Point 2 however does work and a simple sudo trucrypt worked.

On a side note I cant seem to pass the password as a command line option - it claims that the password was wrong and reprompts me for it. When I type it in then it works fine. Any idead on this?

I am using the option --password=MYPASS

archebyte 2010-01-21 09:07

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Quote:

Originally Posted by atunguyd (Post 485916)

On a side note I cant seem to pass the password as a command line option - it claims that the password was wrong and reprompts me for it. When I type it in then it works fine. Any idead on this?

I am using the option --password=MYPASS

you are missing the --non-interactive parameter. this works for me:
Code:

~ $ truecrypt newtc /mnt/tc/ -m nokernelcrypto --non-interactive --password=test

archebyte 2010-01-21 09:20

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
1 Attachment(s)
Quote:

Originally Posted by Nathan (Post 484548)
Yeah, their is two methods that should work.
1. Create the /media/tc folder as owned as user, and then mount your tc folder as a sub-folder of /media/tc
2. Edit your sudoers, and add the truecrypt binary object as one that requires no password. (I probably should do this by default!)

1 didn't seem necessary for me. user had permissions by default. I created mount dir as root and ran truecrypt as user
Code:

Nokia-N900-51-1:/media# mkdir tc
Nokia-N900-51-1:/media# exit
~ $ truecrypt /home/user/newtc /media/tc/ -m nokernelcrypto --non-interactive --password=test
~ $ ls /media/tc/
apt.xvcg  test.doc


atunguyd 2010-01-21 11:48

Re: How to Distribute? (TrueCrypt, Cifs.ko, ntfs.ko, mount.cifs)
 
Sweet thanks - somehow I missed that non-interactive part in the man pages of truecrypt


All times are GMT. The time now is 12:57.

vBulletin® Version 3.8.8