chsh in nis environments?

chsh in nis environments?

Post by Rupert Thurne » Thu, 16 Feb 1995 21:01:29



does there exist a programm which could do that?

if i tried it i got:

[2]rthurner> chsh
Old shell: /usr/bin/tcsh
New shell: /usr/bin/bash
Hashed database not in use, only /etc/passwd text file updated.

User rthurner not found in the local /etc/passwd file.  Use 'yppasswd' to change an NIS passwd entry.

but yppasswd doesnt offer anything to change the shell  ....

any comments greatly appreciated (also by mail)

rupert thurner.

 
 
 

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. setuid bit question

3. Mixing NIS and non-NIS environments

4. 5250 & HLLAPI

5. NIS+ & NIS in same environment

6. Aamazing Tech Monitor CM 8489 GX

7. NIS in NIS+ environment?

8. IPSec

9. need chsh for NIS

10. NIS and chsh = braindamage?

11. NIS managed lan howto: how can i chsh?

12. NIS (yp) chfn/chsh