Displaying 1 result from an estimated 1 matches for "oav3dv4".
2009 Jan 20
1
Generating password string in /var/nis/passwd with Perl
...AD and
NIS and also to create the home dirs at our NetApp-Filer.
Unfortunately some steps still have to be made by hand
(the sysadmin copy-pastes it from a browser to a shell).
I could skip one manual step (calling yppasswd) if I knew
how to generate the passwd string for /var/nis/passwd:
farber:oav3dV4.Mnj/.:10154153:5725:Alexander
Farber,jn-05/02,,,,:/home/farber:/bin/bash
Has anybody already figured out, how to do it from Perl?
I'm sure there must be some way (smth. with Perl's crypt).
Regards
Alex
PS: Here is my script: http://pastebin.com/m46057a70
feel free to modify and us...