Re: [vchkpw] forced changing of passwords at command line
On Sat, Nov 30, 2002 at 02:51:44PM -0800, Rick Updegrove wrote: > -bash-2.05b# grep bsdpeople /var/qmail/users/assign It's possible that users/assign and users/cdb are not in sync. If you have cdb installed (http://cr.yp.to/cdb.html) you can run the following command to see: cdbdump < /var/qmail/users/cdb |grep --binary-files=text bsdpeople If the domain is still listed there then you need to re-run qmail-newu, but be careful that what is in /var/qmail/users/assign is what you really want. Cory -- Cory Wright Stand Blue Technology http://www.standblue.net/
Re: [vchkpw] forced changing of passwords at command line
How about "vdeldomain bsdpeople.com", and then "vadddomain bsdpeople.com somepasswd" -- bordewich.NETnetwork consultant Einar Bordewich phone: +47 911 52 777 e-Mail: einar(at)bordewich.net lat: 59.91144 N lon: 10.76097 E - Original Message - From: "Rick Updegrove" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Cory Wright" <[EMAIL PROTECTED]> Sent: Saturday, November 30, 2002 11:51 PM Subject: Re: [vchkpw] forced changing of passwords at command line > - Original Message - > From: "Cory Wright" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, November 30, 2002 2:21 PM > Subject: Re: [vchkpw] forced changing of passwords at command line > > > > That command does not do what you want it to do, try this: > > > > grep bsdpeople * > > > > Your grep command searched files named "anything followed by a period > > followed by anything." > > > > Cory > > DOH! > > Excellent point Cory! > > However I manaully opened the files prior to that post and the domain is not > listed in any of them. Sorry for the confusion with my hasty pasting. > > -bash-2.05b# pwd > /var/qmail/control > -bash-2.05b# grep bsdpeople * > -bash-2.05b# grep bsdpeople /var/qmail/users/assign > -bash-2.05b# > > -bash-2.05b# pwd > /home/vpopmail/domains > -bash-2.05b# ls -la bsd* > ls: bsd*: No such file or directory > > > See. I have removed all traces I could find of the domain. > > -bash-2.05b# vadddomain bsdpeople.com > Please enter password for postmaster: > enter password again: > Error: Domain already exists > > > Thanks again > > > >
Re: [vchkpw] forced changing of passwords at command line
- Original Message - From: "Cory Wright" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 30, 2002 2:21 PM Subject: Re: [vchkpw] forced changing of passwords at command line > That command does not do what you want it to do, try this: > > grep bsdpeople * > > Your grep command searched files named "anything followed by a period > followed by anything." > > Cory DOH! Excellent point Cory! However I manaully opened the files prior to that post and the domain is not listed in any of them. Sorry for the confusion with my hasty pasting. -bash-2.05b# pwd /var/qmail/control -bash-2.05b# grep bsdpeople * -bash-2.05b# grep bsdpeople /var/qmail/users/assign -bash-2.05b# -bash-2.05b# pwd /home/vpopmail/domains -bash-2.05b# ls -la bsd* ls: bsd*: No such file or directory See. I have removed all traces I could find of the domain. -bash-2.05b# vadddomain bsdpeople.com Please enter password for postmaster: enter password again: Error: Domain already exists Thanks again
Re: [vchkpw] forced changing of passwords at command line
On Sat, Nov 30, 2002 at 01:54:52PM -0800, Rick Updegrove wrote: > -bash-2.05b# grep bsdpeople.com *.* > > Ok the domain is not anywhere to be found now, That command does not do what you want it to do, try this: grep bsdpeople * Your grep command searched files named "anything followed by a period followed by anything." Cory -- Cory Wright Stand Blue Technology http://www.standblue.net/
Re: [vchkpw] forced changing of passwords at command line
- Original Message - From: "Rick Macdougall" <[EMAIL PROTECTED]> To: "Rick Updegrove" <[EMAIL PROTECTED]> Sent: Saturday, November 30, 2002 1:32 PM Subject: Re: [vchkpw] forced changing of passwords at command line > Hi, > > With vadddomain you will need to check > /var/qmail/control/rcpthosts|morertphosts|virtualdomains AND > /var/qmail/users/assign > > Have a look to make sure the domain you are working on doesn't exist in any > of those files if you are trying to vadddomain it. > Thanks for the reply, I actually had thought of that -bash-2.05b# grep bsdpeople.com /var/qmail/users/assign -bash-2.05b# pwd /var/qmail/control -bash-2.05b# grep bsdpeople.com *.* Ok the domain is not anywhere to be found now, -bash-2.05b# vadddomain bsdpeople.com Please enter password for postmaster: enter password again: Error: Domain already exists Any more suggestions? I have even tried -bash-2.05b# cd /home/vpopmail/domains/ -bash-2.05b# mv bsdpeople.com OLDbsdpeople.com -bash-2.05b# vadddomain bsdpeople.com Please enter password for postmaster: enter password again: Error: Domain already exists Thanks Rick Up