Neil Bothwick wrote:
> On Sun, 17 Apr 2022 13:45:39 -0500, Dale wrote:
>
>>>> What is crypttab?  I type in the command manually.  
>>> Then use a shell alias, even less typing.
>> I've done a couple basic alias things here but never grasped it enough
>> to do anything beyond making ls run with -al each time.  I think there
>> is another one I did but it was long ago.  I'd have to dig to find it. 
> alias docrypt='cryptsetup whatever you normally type'
>
> Put that in your profile and you can then mount open the encrypted drives
> by typing docrypt. And if your setup changes, you change the alias but the
> command you type stays the same.
>
> Or you could use a shell script to open and mount with one command.
>
> #!/bin/sh
> cryptsetup whatever
> mount whatever
>
>


I have to enter a password in the middle of that.  I don't know how that
would work.  As I've said before, my "scripts" are so simple, they may
not even be called scripts.  They're just files with commands in them. 

If nothing changes when I get around to rebooting, I'll get into this
some more. 

Dale

:-)  :-) 

Reply via email to