13 lines
190 B
Text
13 lines
190 B
Text
|
#!/usr/bin/python3
|
||
|
|
||
|
import os
|
||
|
|
||
|
|
||
|
# Get user details
|
||
|
username = input('Enter username: ')
|
||
|
|
||
|
|
||
|
# Modify user
|
||
|
os.system('EDITOR=nano ldapvi --user uid=' + username + ',ou=People,dc=exozy,dc=me')
|
||
|
|