Displaying 5 results from an estimated 5 matches for "bash_history_op".
2012 Apr 12
1
[PATCH] sysprep: remove the bash history of users
...+
+let bash_history_perform g root =
+ let typ = g#inspect_get_type root in
+ if typ <> "windows" then (
+ let files = g#glob_expand "/home/*/.bash_history" in
+ Array.iter g#rm_rf files;
+ g#rm_rf "/root/.bash_history";
+ []
+ )
+ else []
+
+let bash_history_op = {
+ name = "bash-history";
+ pod_description = "\
+Remove the bash history in the guest.
+
+Remove the bash history of user root and any other users
+who have a bash history file in his home directory.";
+ extra_args = [];
+ perform = bash_history_perform;
+}
+
+let () = r...
2012 Apr 13
1
[PATCH 1/2] sysprep: remove .ssh directory in users' directory
Remove the .ssh directory of user "root" and any other
users who have a .ssh directory in their home directorys.
Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
---
TODO | 1 -
sysprep/Makefile.am | 2 ++
sysprep/sysprep_operation_ssh_userdir.ml | 46 ++++++++++++++++++++++++++++++
3 files changed, 48
2012 Apr 18
1
[PATCH RFC] sysprep: remove user accounts
...-account";
+ pod_description = "\
+Remove the user accounts except \"root\" in the guest.
+
+Remove the user accounts and their home directory except
+the \"root\" account.";
+ extra_args = [];
+ perform = user_account_perform;
+}
+
+let () = register_operation bash_history_op
--
1.7.10
2013 Aug 24
67
[PATCH 00/67] Proposed patches for libguestfs 1.22.6.
In the kernel and qemu communities it is routine for patches that will
be backported to stable branches to be posted for review. I'm
proposing we do the same for libguestfs stable branches.
All of the attached have been tested with 'make check-release'.
Rich.
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It
does work, but needs a lot more testing.
This removes all the psychopathic gettextify cruft, and replaces it
with a 99 line Makefile.am. A large win, I think.
The third patch implements gettext support in the OCaml tools.
The fourth patch is just for illustration. It shows the consequent
changes to libguestfs.pot and the po