search for: osmbpasswd

Displaying 2 results from an estimated 2 matches for "osmbpasswd".

Did you mean: smbpasswd
1999 Jan 27
0
Encrypted passwords really necessary for PDC ?
...to locked (all Xs) # - put a W in the smbpasswd flag field of machine accounts # (ie. any account ending in $) # - put a U in the smbpasswd flag field of user accounts # # Todd Pfaff # pfaff@mcmaster.ca $passwd="/etc/passwd"; $smbpasswd="/usr/local/samba/private/smbpasswd"; $osmbpasswd="$smbpasswd.old"; open(PW,"<$passwd"); while(<PW>) { chop; push @pw, $_; } close PW; rename $smbpasswd, $osmbpasswd; open(PW,"<$osmbpasswd"); while(<PW>) { chop; ($uname,$uid,$pw1,$pw2,$flags,$lct,$fname)=split(':'); $spw{$uname}=...
1998 Jul 02
1
Synchronize Unix/SMB passwords with 'synchpasswd'
Hi, It's been a while since I created my smbpasswd file, and therefore it is no longer in synch with my Unix file. I've added and removed users over time, and now I need a way to update the 'smbpasswd' file without losing the encrypted passwords that are already in place (ie. I don't want to just run 'makesmbpasswd.sh' again). So, I've written the