wwwhizz’ blog Blog about some tech, some linux, my MIDIbox SID, etc.

30Jan/100

su: Bad item passed to pam_*_item() fixed

I had a problem when trying to su. Everytime I tried to su it gave the following error:

su: Bad item passed to pam_*_item()

Since I didn't find my solution on the internet (the only solution I could find was removing wrong entries from /etc/environment), I'll post mine here:

I had a floating equals-sign in

/etc/default/locale

You should check that file, it should only contain something like

LANG=en_US.UTF-8

If that doesn't fix your problem, you might want to check your /etc/pam.d/su for strange entries.

Filed under: Uncategorized Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a Reply

No trackbacks yet.