Topic: login problems

[F1] Login Issues
   
Ok so I can login in but not really what is the deal here is the step-by-step of how I produced the problem/error.


Step-by-Step:

$Login:<username>
$Password:
$Last login: $date on ttyN
$/etc/motd # At the prompt the /etc/motd is printed indicating to me i am logged in followed by the next prompt below
$Password: # Again I enter the same user password and the following error occurs
ERROR Message:
Code:

Sorry, User <username> is not allowed to execute `/usr/sbin/chroot /home/<username> /bin/su <username>` as root on <servername>


I believe this to be related to /etc/visudo file and the line that appears for the user as follows:

<username> ALL= NOPASSWD: /usr/sbin/chroot /home/<username> /bin/su - <username>*

What am I doing wrong or missing that is keeping this user from logging in and is there a way to correct the account so that the second password prompt can prevented.

Re: login problems

Should I rephase my question? What additional info should I supply, there has been 20+ views and not a single comment.

Re: login problems

Is this on the CLI or via ssh or other method?

Has this always happened? Or when did it start?

Does this happen on all accounts or just one specific one?

"UBER" means I don't drink the coffee... I chew the beans instead
             -- Copyright BSDnexus

Re: login problems

NOTE : This is a jailed user environment which I cant get the user to login from otherwise using chroot everthing else works just fine.

Is this on the CLI or via ssh or other method?
//  CLI

Has this always happened? Or when did it start?
//  New account so it just started

Does this happen on all accounts or just one specific one?
// just this account


*If anyone you would like I have been cataloginf my steps to build this enviro and will post if they might be of use.

Last edited by loomit (2006-01-20 09:31:45)

Re: login problems

You took a look at the log files ?

<wintellect> NetBSD users are smart enough to accept that there's no 3D support tongue