Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th May 2008
cmdba cmdba is offline
New User
Join Date: May 2008
Posts: 3
Unhappy New Accounts Unable to Authenticate

Hello All,

I'm experiencing a problem where newly created accounts are unable to authenticate when logging in with a new SSH session - even though I can 'su -' to them from another luser account (password works).

Environment: FreeBSD 6.2-RELEASE

This seems to have started around the time I added a new group to /etc/group and assigned it a new group number.


When I looked at the /etc/password entry for new accounts, the uid/gid assignment was out of sync, like this:


(I was using default values (just hitting enter) for the assignment of user/group during the adduser process.)

I thought this might have something to do with it, so I deleted the new accounts (this was only happening for accounts created after the new group 'newgroup' was added). I then deleted the group 'newgroup'. When I then added new users, the gid/uid entries in /etc/password had the same values as I would expect:


... but I still have the same problem with logging in - I can 'su - ' to the new account from a pre-existing (non-root) luser account, but cannot log in fresh with the new user itself.

When I try to log in as the new user, I get 'Access Denied'.
/var/log/messages shows:
sshd[59417]: error: PAM: authentication error for illegal user test1 from

Anyone have a clue what's going on here?


Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't passwd on all accounts anymore ck2323 FreeBSD General 1 7th October 2009 03:28 AM
unable to log in delboy FreeBSD Installation and Upgrading 5 31st August 2008 11:39 AM
Unable to hear any sound ebzzry FreeBSD General 26 29th July 2008 06:39 PM
Unable to login squirrelmail satimis Other BSD and UNIX/UNIX-like 3 28th May 2008 04:21 PM
unable to read messages ocicat Feedback and Suggestions 1 3rd May 2008 08:01 AM

All times are GMT. The time now is 01:29 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick