You need to be more precice in what you are trying to do.
"After this i logon on the usermode its not login "
is not an adequate problem discription.
I don't know your user mode, "it's not login" does not say _how_ you tried to login, nor does it state what exactly failed.
A better description would be like:
Code:
I made the changes to the sudo config as root like this
"visudo"
After I safed my changes the new configuration was accpeted by sudo
(It does print this in the shell after you close the editor)
Then I logged into a terminal (or with ssh) as a normal user.
Then, as this user I tried
"sudo su"
Which prompted for a password.
I typed in my root password, but it says "wrong password"
That kind of description helps others to understand what you have been trying to do, and at what point axactly things went wrong.
My example is easily fixed: after doing "sudo su" you are prompted for a password, but this is not the root password, but your user account password.
(that's what sudo is for)
So please explain your self better.
- What do you want to do?
- (maybe)answer: (I want to give my users root access, without them having to know the root password)
- How did you try it?
- (maybe)answer: (edited the sudo config with visudo, you errors were repoerted)
- then what did you type
- (sudo su)
- what went wrong? what was the exact message the system gave you? what had you expected the message would be?
That would certainly help.