Hallo Bastian,

Bastian Kleineidam schrieb am Mon 19. May, 00:14 (+0200):
> Am Donnerstag, 15. Mai 2008 16:39:09 schrieb Jörg Sommer:
> > please enhance mount.crypt to take the fsck command from
> > /etc/security/pam_mount.conf.xml or make it somehow else modifiable.
> I am curious, can you tell with what you want to replace/augment the fsck 
> command?

% grep fsck\> /etc/security/pam_mount.conf.xml
<fsck>fsck -C -y -p %(FSCKTARGET)</fsck>

I would like to give the -C and the -y option for the fsck call. And
maybe you should consider the fsck call is a shell command, i.e. I would
like to do something like: !on_ac_power || fsck -C -y -p %(FSCKTARGET)

Otherwise the user can't login, if the fsck fails. He can't repair it,
because he doesn't own the device. Removing the -p option or adding the
-y option would help.

Bye, Jörg.
-- 
Das Recht, seine Meinung zu wechseln, ist eines der wichtigsten
menschlichen Privilegien.
                                                (Robert Peel)

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to