chpass problem (2.1.0-RELEASE)

chpass problem (2.1.0-RELEASE)

Post by Nathan Torkingt » Sat, 15 Jun 1996 04:00:00



FreeBSD deimos.frii.com 2.1.0-RELEASE

We recently had to rip out YP, kicking and screaming, after it
detonated on our master server.  Since then we've been picking up the
pieces.  One of the pieces is chpass.

I went to build chpass without the -DYP flag, and it *failed*.  I'm
surprised nobody has found this before, but here's the relevant diff:

104c104
<           "#Changing user database information for %s.\n", pw->pw_name);
---

Quote:>           "#Changing user database information for %s.\n", pw->pw_name)

Yes, a missing semicolon.

Nat

 
 
 

chpass problem (2.1.0-RELEASE)

Post by Bill Pa » Sun, 16 Jun 1996 04:00:00


Daring to challenge the will of the almighty Leviam00se, Nathan Torkington

: FreeBSD deimos.frii.com 2.1.0-RELEASE

: We recently had to rip out YP, kicking and screaming, after it
: detonated on our master server.

I would be very interested if you could elaborate a bit on what
you mean by 'detonated.' I'm also wondering why you felt it was
necessary to 'rip it out' when you could has just as easily 'turned
it off,' or 'not turned it on.'

-Bill

PS: I'll fix the missing semicolon presently.

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu


=============================================================================
 "If you're ever in trouble, go to the CTR. Ask for Bill. He will help you."
=============================================================================

 
 
 

1. passwd, chsh, chpass, chfn, chsh problem

hi,

i'm using freebsd 4.6.2 with own recompiled kernel, my problem is that
when i try to use some of $subject utilities it takes a long time
(about one minute) to execute them, i tried to strace chsh and here is
a result:

...

socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
getsockname(4, {sin_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("0.0.0.0")}}, [16]) = 0
getsockopt(4, IPPROTO_IP, 19, [0], [4]) = 0
setsockopt(4, IPPROTO_IP, 19, [2], 4)   = 0
bind(4, {sin_family=AF_INET, sin_port=htons(0),
sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
ioctl(4, FIONBIO, [1])                  = 0
sendto(4, "\203\7\312
\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3"..., 56, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56

this message is repeated so many times:

gettimeofday({1035209143, 831286}, NULL) = 0
select(5, [4], NULL, NULL, {5, 0})      = 0 (Timeout)
sendto(4, "\203\7\312
\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3"..., 56, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56

gettimeofday({1035209148, 839516}, NULL) = 0
select(5, [4], NULL, NULL, {5, 0})      = 0 (Timeout)
sendto(4, "\203\7\312
\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3"..., 56, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56
gettimeofday({1035209153, 849542}, NULL) = 0
select(5, [4], NULL, NULL, {5, 0})      = 0 (Timeout)
sendto(4, "\203\7\312
\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3"..., 56, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56
gettimeofday({1035209158, 859605}, NULL) = 0

...

should be a problem with my firewall setup or i'm just stupid and miss
something ?

any suggestions ?

thank you very much

p.s. please excuse my english

2. unable to mount cd-rom:cactus digital cd:Linux version 2.0.0

3. chpass for Solaris?

4. double pentium pro graphic performance??!

5. Strange Severe Issue: chpass -s with non-existent shell wipes root pwd &....

6. s390 (1/6): semtimedop.

7. a script to call chpass, make the change, then continue

8. Strange behavior of SMP Linux 2.2.1

9. chpass will not exit

10. chpass locked me out of my computer

11. help newbie with chpass

12. chpass.c

13. NAI-28: Vulnerability in OpenBSD chpass(1)