-
Notifications
You must be signed in to change notification settings - Fork 0
i5513/as_root
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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!
About
Really you don't want or don't can't use sudo ? Really? as_root will automatically for you do ssh machine "su -" and though expect will introduce root password
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published