search for: pwd_mkdb

Displaying 19 results from an estimated 19 matches for "pwd_mkdb".

Did you mean: pwd_md5
2003 Apr 18
1
Slow vipw and fast pwd_mkdb
Hello, could somebody to comment PR bin/51148? It is suggestion how to pass a value of cache size to pwd_mkdb when we are doing vipw or such. It can give a greate speed-up when master.passwd is really big (and sometimes it is). Appropriate cache size can make process 10 to 100 or more times faster. I gave the results of measurements in that problem report. Thanks in advance! SY, Alex
2003 Apr 20
0
How I got Samba 2.2.8a to run on OpenBSD 3.2 i386
...} - //restore_re_gid(); + restore_re_gid(); (*p_ngroups) = ngroups; (*p_groups) = groups; @@ -179,7 +179,7 @@ fail: SAFE_FREE(groups); - //restore_re_gid(); + restore_re_gid(); return -1; } -------------- next part -------------- #!/usr/bin/perl -W use Fcntl qw(:DEFAULT :flock); $pwd_mkdb = "/usr/sbin/pwd_mkdb"; $master_passwd = "/etc/master.passwd"; umask(077); die "You are not root!\n" if $<; $newname = pop(@ARGV); exit if !defined $newname; print scalar localtime() . " - $0 $newname\n"; die "$newname already exists!\n" if ($n...
2005 Mar 22
3
PAM fails to change user password
Hi, freebsd-security. I have FreeBSD 5.3-STABLE. When I try to change user's password (via passwd) I recieve the following: passwd: entry inconsistent passwd: pam_chauthtok(): error in service module passwd: in pam_sm_chauthtok(): pw_copy() failed and password stays unchanged. There are no other errors in the authorization system at all. Contents of /etc/pam.d stayed unchanged (compared to
2006 Apr 20
1
Script to strip chroot passwd file
Hello BSDers, I'm running Apache in a chroot jail with suPHP. It needs an /etc/ passwd in the chroot so that suPHP can setuid to the owner of the PHP script, but there's nothing that requires the passwords to be valid. Does anyone have a script strips passwords out of master.passwd, sets all shells to nologin, etc and writes it to the chroot etc dir? I've looked around but
2003 Aug 12
2
password file recovery question
I've got a possibly silly question and I believe I have an answer, but I want to see if what I think is the answer is feasible. I've had to rebuild a mail server from scratch, upgrading from 4.6-STABLE to 4.8-STABLE in the process. The other mail server had crashed, with disk errors so sever it wouldn't fsck clean. I was able to get it together enough to pull my configuration files
2003 Jul 01
1
kde KUser - expires accounts
...#39;-1' in it (without quotes). Change the '-1' to a '0' (zero) for each record that should not be expired. In my case this was I had to do this for everyline except the new user because that account was not expired. Save the file and exit your editor. Now I had to run /usr/sbin/pwd_mkdb /etc/master.passwd like this: # /usr/sbin/pwd_mkdb /etc/master.passwd That should restore your expired accounts. Does anyone know if there is a patch for KUser to fix this problem. I found some discussion about this but it was from Feb. 2003 and I was unable to find a patch. Hope this helps an...
2007 May 10
2
Changes in authentication's???
...ot: IMAP(test): mbox: INBOX defaulted to /tmp/email/mbox/s/test/inbox May 10 02:56:02 scat dovecot: IMAP(test): mbox: root=/tmp/email/mbox/s/test, index=/tmp/email/mbox/s/test, inbox=/tmp/email/mbox/s/test/inbox I generate passwd using next script: etc_path = /usr/local/www/data/Email/RefCont/etc pwd_mkdb -d ${etc_path} ${etc_path}master.passwd pw useradd -V ${etc_path} -n $1 -g mailusers -s /tmp/email/bin/nonexistance echo "$2" | pw usermod -V ${etc_path} -n $1 -h 0 My config: # /usr/local/etc/dovecot.conf protocols: imap pop3 listen(default): *:10143 listen(imap): *:10143 listen(pop3):...
2017 Feb 05
4
please help this newbie get started
...e modified manually. ???? The master.passwd file is readable only by root, and consists of newline ???? separated records, one per user, containing ten colon (`:') separated ???? fields.? These fields are as follows: ???? [...] ???? The passwd file is generated from the master.passwd file by pwd_mkdb(8), ???? has the class, change, and expire fields removed, and the password field ???? replaced by a `*' character. ???? [...] ???? In the master.passwd file, the password field is the encrypted form of ???? the password, see crypt(3).? If the password field is empty, no password ???? will be...
2003 Apr 22
1
make installworld Error code 64
...s/handbook/makeworld.html But when I get to "21.4.9 Install the New System Binaries" This happens: root@smeagol /usr/src # make installworld mkdir -p /tmp/install.16560 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.16560; done usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory *** Error code 64 Stop in /usr/src. *** Error code 1 Stop in /usr/src....
2005 Feb 24
1
Samba Upgrade Yields Undesired Domain-Wide IE High Security
...for a couple years using roaming profiles. The box was functioning as PDC. The hardware was getting old; I needed to migrate to a new server. So, I built a FreeBSD 5.3-RELEASE box on some relatively modern hardware and installed Samba 2.2.12. I copied the master.passwd file to the new box, did the pwd_mkdb, also copied the group file. Then I tarred all the home directories on the old server, and untarred them on the new server. Same with all the shares. Also used the same smb.conf file. As far as the users go, I am having them re-initialize their passwords thru Usermin so their Samba passwords are n...
2002 Dec 10
2
FreeBSD as a PDC
Hello all, I was using Samba 2.2.5 on a Linux machine as a PDC and it was working fine. But know I installed FreeBSD 4.7 in this machine and installed Samba 2.2.6pre2. It's still working as a PDC, but I can't add machine trust accounts because FreeBSD doesn't accept $ in its usernames. How should I do now? Thanks in advance.
2005 Feb 24
0
Samba 2.2.12 Hardware Migration Policy Issue Win2K
...for a couple years using roaming profiles. The box was functioning as PDC. The hardware was getting old; I needed to migrate to a new server. So, I built a FreeBSD 5.3-RELEASE box on some relatively modern hardware and installed Samba 2.2.12. I copied the master.passwd file to the new box, did the pwd_mkdb, also copied the group file. Then I tarred all the home directories on the old server, and untarred them on the new server. Same with all the shares. Also used the same smb.conf file. As far as the users go, I am having them re-initialize their passwords thru Usermin so their Samba passwords are n...
2004 Jan 13
3
pam_chroot
Has anyone got the pam_chroot module to successfully work in FreeBSD? I have FreeBSD 5.2-RELEASE installed. I copied the appropriate binaries and libraries into my chroot, I can chroot -u test -g test /home/test /usr/local/bin/bash and it works perfectly. So now I am trying to get the pam module to work. I added session required pam_chroot.so debug into the
2003 Mar 09
3
not able to add machines on FreeBSD 4.7
I'm setting up a new install of samba 2.2.7a on FreeBSD 4.7 Here's a little run-through of what I have done. I added a machine account in /etc/group as follows: machines:*:201 I have added all of my machine accounts in to /etc/passwd as follows: sclepy$:*:201:201::0:0:Machine account for Sclepy:/dev/null:false lexus$:*:202:201::0:0:Machine
2017 Feb 05
3
please help this newbie get started
Hi, everyone, 1. As advised in?Debugging Authentication, I turned on auth_debug and auth_debug_passwords, and now in the mail log I get an additional message: dovecot: auth: passwd(xxx,xxx,<40AjQMFHSLVLGJAC>): invalid password field '*' Of course neither the password I tried nor the actual password was '*'. That's what's in /etc/passwd, but dovecot isn't just
2012 Dec 26
2
Can't build kernel with ndis
I am trying to build FreeBSD update, STABLE branch, and buildkernel apparently snagged on ndis, which I don't want to do without. According to "man ndis", I need in kernel config options NDISAPI device ndis device wlan which I have: device wlan # 802.11 support options NDISAPI # This is in the hope of enabling Hiro USB wireless adapter device
2003 May 16
2
make installworld fails : touch not found ?
...r this situation ? I have no idea about that. :-( Here is error message : ---------[make installworld ]----------------------------------------------- mkdir -p /tmp/install.466 for prog in [ awk cap_mkdb cat chflags chmod chown date echo egrep find grep l n make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.466; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORM AT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/li bdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src...
2004 Aug 10
3
[PATCH] Tighten /etc/crontab permissions
...in.access login.conf \ @@ -73,7 +73,7 @@ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 755 \ ${BIN2} ${DESTDIR}/etc; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ - master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \ + crontab master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \ pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd cd ${.CURDIR}/bluetooth; ${MAKE} install cd ${.CURDIR}/defaults; ${MAKE} install -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not availabl...
2003 Dec 01
0
No subject
...lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request@lists.samba.org?subject=unsubscribe> List-Archive: http://lists.samba.org/pipermail/samba/ Thanks for the suggestions, but I've fixed it now - it was just a dumb unix password mistake. I think I must have neglected to run pwd_mkdb after adding the pcguest user to /etc/master.passwd and running mksmbpasswd. Duh... Anyway, in case it helps anyone else, while it wasn't working I had the following turning up in my log.smbd: << [2001/05/18 12:16:43, 3] smbd/service.c:make_connection(638) calculus (192.168.5.14) conn...