Originally Posted by chrism01
That .sxw file will (prob) have formatting codes in it. Extract the list as plain text, then build a bash script around the useradd cmd:
Hi have a similar problem! need a script to ass users but the useradd cmd lets you insert an allready encripted pass, HOW can i encrypt the pass in order to be able to login with the keyword?
useradd -p qwe user => this puts "qwe" in the shadow file who knows wich keyword gould be casted to qwe after encryption?
so new users cant login..