summaryrefslogtreecommitdiff
path: root/source3/script/mksmbpasswd.sh
blob: 6e592acd6525bd0d9e3680d10ad800162106abb0 (plain)
1
2
3
4
5
6
#!/bin/sh
awk 'BEGIN {FS=":"
	printf("#\n# SMB password file.\n#\n")
	}
{ printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s:%s:%s\n", $1, $3, $5, $6, $7) }
'