Skip to content
Snippets Groups Projects
Commit e7fbcdc8 authored by Egon Araujo's avatar Egon Araujo
Browse files

[issue/3254] Add encrypted ext4 home and sync on logout


Signed-off-by: default avatarEgon Araujo <enba14@c3sl.ufpr.br>
parent c3715359
No related branches found
No related tags found
1 merge request!8Issue/3254
#!/bin/ash
# runs on logout of users
sync
echo "syncing"
#!/bin/ash #!/bin/ash
trap "/opt/openslx/scripts/logout.sh" 0 >> /etc/profile
mkdir -p /home/openslx/localaccounts/bak mkdir -p /home/openslx/localaccounts/bak
for file in passwd group shadow; do for file in passwd group shadow; do
echo $0": making backup of "$file echo $0": making backup of "$file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment