-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
35 lines (24 loc) · 728 Bytes
/
README
File metadata and controls
35 lines (24 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
as_root is a perl script which help you if in your departament don't want to
use sudo.
It basically use expect to automatically login as root in server though ssh:
ssh machine "su -"
password: xxxx
#
You need a password file exported to xml from keepass v2. Actually you need
encrypt it:
openssl des3 -salt -e -in passwords.xml -out passwords-encrypted.xml
or configuring -d (decrypt option) when using as_root.
as_root will read in this order:
-c file_config
~/.as_root/config
/etc/as_root/config
Directives supported are:
log_file
user
decrypt
passwords_file
passwords_command
default_password
domains
I'm playing with git, so I expect to have errors ...
Well, to be improved , read the perldoc/man for more info!