Bug 35302 - Пользовательская прога (e4crypt) заинсталена в /sbin
Summary: Пользовательская прога (e4crypt) заинсталена в /sbin
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: e2fsprogs (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-29 04:02 MSK by Vitaly Chikunov
Modified: 2018-08-29 04:02 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Chikunov 2018-08-29 04:02:49 MSK
e4crypt заинсталена в /sbin, хотя может использоваться из под юзера.

  depo:~$ rpm -q e2fsprogs -l | grep bin/e4crypt
  /sbin/e4crypt

  depo:~$ /sbin/e4crypt add_key
  Enter passphrase (echo disabled):
  Added key with descriptor [51b28406f857c1cb]

  depo:~$ keyctl show
  Session Keyring
     8692647 --alswrv      0     0  keyring: _ses
    98625205 ----s-rv      0     0   \_ user: invocation_id
   510621636 --alsw-v    500   500   \_ logon: ext4:51b28406f857c1cb

  depo:~$ /sbin/e4crypt set_policy 51b28406f857c1cb t
  Key with descriptor [51b28406f857c1cb] applied to t.