[TriLUG] private key permission/ownership on removable USB device

Mack.Joseph at epamail.epa.gov Mack.Joseph at epamail.epa.gov
Mon Feb 28 12:48:01 EST 2005


Joseph Mack PhD, High Performance Computing & Scientific Visualisation
LMIT, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.john at epa.gov

trilug-bounces at trilug.org wrote on 02/28/2005 12:06:07 PM:

> Here's the way I did that for my machines:
>
> 1) Leave the key drive a fat file system.

I hoped not to have to do this :-( Why can't you use ext3?

Do you need fat so you can use the uid/gid below (your "2")

> 2) Use autofs to mount the drive when needed with the following fat
> mount options;
>    uid=<your uid>,gid=<your gid>,umask=0177
>      you set the uid and gid to your ids on each machine. The mask
> makes the file perms 600, which ssh wants.
>
> 3) create a sym link in you .ssh directoy to the appropiate file in
> the automounted filesystem.
>
> I used mine this way for quite a while. I was eventually able to make
> all my uids the same. Then I switched to ext2 filesystem on the key
> drive.

how do you do it with ext2?

Thanks Joe




More information about the TriLUG mailing list