/usr/sbin/globus-gridftp-password is in globus-gridftp-server-progs 9.4-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #! /usr/bin/perl
($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell,$expire)=getpwuid($<);
$salt=join '', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64];
system "stty -echo";
print STDERR "Password: ";
chomp($pword = <STDIN>);
print "\n";
system "stty echo";
$hash=crypt($pword, $salt);
print "$name:$hash:$uid:$gid:$gcos:$dir:$shell\n"
|