diff options
Diffstat (limited to 'shadowconvert.sh')
-rwxr-xr-x | shadowconvert.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/shadowconvert.sh b/shadowconvert.sh index 4be13b6..006046d 100755 --- a/shadowconvert.sh +++ b/shadowconvert.sh @@ -11,8 +11,5 @@ sed -e "s/:.*/:*:`expr $(date +%s) / 86400`:0:99999:7:::/" passwd >shadow #make prototype for /etc/gshadow sed -e 's/:[0-9]\+:/::/g' group >gshadow -#mark passwd and group files entries shadowed -sed -i -e 's/^\([^:]\+\):[^:]*:/\1:x:/' passwd group - echo Converted successfully. exit 0 |