-   Ubuntu (
-   -   $su, Authentication Failure (

Eilya 09-22-2008 01:26 PM

$su, Authentication Failure
Hi Dear friends,

I want to know why I can not login in bash in condition that I can login to the Interface? I use the same username and password, so why I have Authentication Failure.


Matir 09-22-2008 02:14 PM

Are you attempting to login at a login prompt, or via su as your subject implies? Only some users are allowed to su: having a password is not sufficient.

Eilya 09-22-2008 02:31 PM

what should I do????
I can do everything in graphical mode, but by same user pass, I can not do that, this system is single user, and I have the administrator permission:) I didn't have similar problem in suse distro.


Matir 09-22-2008 02:40 PM

So you have a login prompt, and type in the username and password, and it doesn't work, but logging in as that user from X does work?

Eilya 09-26-2008 05:18 PM

Yes, I can login to interface, and using administration graphical tools, but I can not login in bash. what's the problem?

Eilya 10-02-2008 05:48 PM

ANy IdeA????????

Matir 10-02-2008 08:12 PM

You never clarified your concerns. You cannot log into bash: bash contains NO authentication mechanisms. Are you using 'su' from a bash session to attempt to switch user to root? Are you logging in on a Virtual Terminal (console)?

Maybe you could copy/paste the exact text you see so we can see exactly what is happening.

Eilya 10-13-2008 04:58 PM

Dear Matir,
I login to Virtual Terminal by my user and password, then when I want to use Bash I type: $su but the same user and pass doesn't work in this part.

Matir 10-13-2008 05:38 PM

Some distributions require that you be in the wheel group in order to use su from the console. Check your local pam configuration to see if is required for suing.

dopla 10-14-2008 05:41 AM

To set the root password:
$ sudo su (if this asks for password, enter YOURS. You must be in the sudoers file by default).
$ passwd

Then later on, to log in as root (On Virtual Terminal)
username: root
password: <The One You Set As Above>

Does this help?

All times are GMT -5. The time now is 08:40 PM.