diff options
author | kshithijiyer <kshithij.ki@gmail.com> | 2019-08-23 12:13:07 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-09-17 07:00:41 +0000 |
commit | e04dd165c33a21d2674f8084f824cf41a300c088 (patch) | |
tree | 0b3080dc726cf69dedb77e16b80884bf17ba776e /glustolibs-gluster/glustolibs/gluster/glusterdir.py | |
parent | fee2d2d2b242c2423a8fa8c6f79db8d99082ac3e (diff) |
[lib] Adding group_add,ssh_keygen,ssh_copy_id, set_passwd to lib_utils.
Adding the following functions tot lib_utils.py:
1.ssh_keygen(): Creates a pair of ssh private
and public key if not present.
2.set_passwd(): Sets password for a given username.
3.ssh_copy_id(): Copies the default ssh public key.
4.group_add(): Creates a group in all the servers.
Modifying add_user() to create and add user to a
specific group. Also modifying the code in add_user()
to take list of servers.
Change-Id: I58cdef967293204073aa912fa98adb9606f6885d
Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/glusterdir.py')
0 files changed, 0 insertions, 0 deletions