Just ran into a strange problem... I have a long-standing user
account on my FreeBSD box that no longer works. She can't ssh into
the box, and I can't even su to her account.
$ su jessica
Password:
su: setusercontext: Invalid argument
Doing some googling, I did find people with similar problems, but I
guess I don't understand the solutions :-)
Someone suggested doing the following:
# ktrace -di su jessica
# kdump -f ktrace.out
This produces tons of output... the last few lines contain the
following:
59929 su NAMI "/etc/nsswitch.conf"
59929 su RET stat 0
59929 su CALL setgroups(0x11,0x7fffffffe5d0)
59929 su RET setgroups -1 errno 22 Invalid argument
59929 su CALL gettimeofday(0x7fffffffd810,0)
59929 su RET gettimeofday 0
59929 su CALL socket(0x1,0x2,0)
59929 su RET socket 3
59929 su CALL fcntl(0x3,0x2,0x1)
59929 su RET fcntl 0
59929 su CALL connect(0x3,0x7fffffffd7b0,0x6a)
59929 su NAMI "/var/run/logpriv"
59929 su RET connect 0
59929 su CALL sendto(0x3,0x7fffffffdd10,0x42,0,0,0)
59929 su GIO fd 3 wrote 66 bytes
"<35>Feb 12 17:59:14 su: initgroups(jessica,1022): Invalid
argument"
I guess this is a clue, but I have no idea what to do with it.
All other users that I've tried work, so the problem seems to be tied
to something in this particular user's account.
The /etc/passwd and /etc/group files look fine.
Any suggestions, much appreciated.
-- John
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"