ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #00253
[Bug 294133] [NEW] ecryptfs-setup-private does not support login passphrases starting with a minus
Public bug reported:
Binary package hint: ecryptfs-utils
ecryptfs-setup-private check the login passphrase with
line 156: printf "$LOGINPASS\0" | /sbin/unix_chkpwd
This does not work when the login passphrase starts with a minus, e.g.
-test-
merlin@Spike:~$ ecryptfs-setup-private
Enter your login passphrase:
printf: 156: Illegal option -m
Solution:
Use
printf -- "$LOGINPASS\0" instead
** Affects: ecryptfs-utils (Ubuntu)
Importance: Undecided
Status: New
--
ecryptfs-setup-private does not support login passphrases starting with a minus
https://bugs.launchpad.net/bugs/294133
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.
Status in “ecryptfs-utils” source package in Ubuntu: New
Bug description:
Binary package hint: ecryptfs-utils
ecryptfs-setup-private check the login passphrase with
line 156: printf "$LOGINPASS\0" | /sbin/unix_chkpwd
This does not work when the login passphrase starts with a minus, e.g. -test-
merlin@Spike:~$ ecryptfs-setup-private
Enter your login passphrase:
printf: 156: Illegal option -m
Solution:
Use
printf -- "$LOGINPASS\0" instead
Follow ups
References