Commit 4f44971b authored by Daniel STAN's avatar Daniel STAN

chgpass: rajoute '/usr/scripts' (a posteriori)

On va bien finir par arriver à bout de ces problèmes de path …
http://i.imgur.com/rGNiDnb.gif
parent ffaeaaf6
......@@ -10,7 +10,11 @@ Script de changement de mots de passe LDAP
Auteur : Pierre-Elliott Bécue <becue@crans.org>
Licence : GPLv3
"""
import sys
import os
if '/usr/scripts' not in sys.path:
sys.path.append('/usr/scripts')
import gestion.config as config
import config.password
import getpass
......@@ -19,8 +23,6 @@ import cracklib
import gestion.affich_tools as affich_tools
import lc_ldap.shortcuts
import lc_ldap.attributs
import sys
import os
import smtplib
encoding = "UTF-8"
......
#! /usr/bin/env python
#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-
# Copyright (C) Frédéric Pauget
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment