correction laps.sh en script autonome
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
func_laps()
|
|
||||||
{
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
# FILE: ~laps.sh
|
# FILE: ~laps.sh
|
||||||
@@ -122,5 +120,4 @@ EOF
|
|||||||
## Journaliser l'action
|
## Journaliser l'action
|
||||||
|
|
||||||
echo "$(date '+%Y-%m-%d %H:%M:%S') - Password for $USER changed and updated in AD for $HOSTNAME" >> "$LOG_FILE"
|
echo "$(date '+%Y-%m-%d %H:%M:%S') - Password for $USER changed and updated in AD for $HOSTNAME" >> "$LOG_FILE"
|
||||||
echo "Password for $USER has been updated locally and in AD."
|
echo "Password for $USER has been updated locally and in AD."
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user