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.