mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 03:51:33 +01:00
Only use pam_mount for slim-based logins. Everything else should avoid touching cryptohome.
Review URL: http://chromereview.prom.corp.google.com/1180003 git-svn-id: svn://chrome-svn/chromeos/trunk@122 06c00378-0e64-4dae-be16-12b19f9950a1
This commit is contained in:
parent
b3e0d3f9be
commit
fc13bc2353
@ -479,6 +479,9 @@ LABEL=C-STATE /mnt/stateful_partition ext3 rw 0 1
|
||||
/mnt/stateful_partition/var /var bind defaults,bind 0 0
|
||||
EOF
|
||||
|
||||
# Remove pam-mount's default entry in common-auth and common-session
|
||||
sed -i 's/^\(.*pam_mount.so.*\)/#\1/g' /etc/pam.d/common-*
|
||||
|
||||
# List all packages still installed post-pruning
|
||||
sudo sh -c "/trunk/src/scripts/list_installed_packages.sh \
|
||||
> /etc/package_list_pruned.txt"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user