hi,
I am new to shell in linux. I was learning and trying to su command. then request the password and I gave it
but it says authantication faliur
then I type passwd and changed the password and try to run su command but I got the same message!!
I am working on ubuntu
authentication failure in linux
Page 1 of 14 Replies - 611 Views - Last Post: 07 September 2011 - 09:22 AM
Replies To: authentication failure in linux
#2
Re: authentication failure in linux
Posted 02 September 2011 - 10:00 AM
If you are issuing su with no user, then it assumes root. You must provide the root password.
If you are issuing a user to su, you must provide that users password.
su is not the same as sudo. sudo asks for your user password, & checks to see if you have permissions to perform the action as that user.
If you are issuing a user to su, you must provide that users password.
su is not the same as sudo. sudo asks for your user password, & checks to see if you have permissions to perform the action as that user.
#3
Re: authentication failure in linux
Posted 02 September 2011 - 10:06 AM
thanks but I have nt set two passwords and users and groups in system administration tab I have set the account to administrator.
how to set root password? passwd doesnt chage root password?
plz help me
how to set root password? passwd doesnt chage root password?
plz help me
#4
Re: authentication failure in linux
Posted 02 September 2011 - 06:35 PM
hi guys,
I figured out the problem.Normally, by default Linux want to log as administrator or root to the system in order to prevent unnecessary changes to the system.
we can login as root by
following commands
sudo bash or sudo -s
then give the password
now u have log as root. therefor su command can now be run.
cheers,
menuka
I figured out the problem.Normally, by default Linux want to log as administrator or root to the system in order to prevent unnecessary changes to the system.
we can login as root by
following commands
sudo bash or sudo -s
then give the password
now u have log as root. therefor su command can now be run.
cheers,
menuka
This post has been edited by menukadevinda: 02 September 2011 - 06:36 PM
#5
Re: authentication failure in linux
Posted 07 September 2011 - 09:22 AM
or user sudo su
if you are privileged user, then it will use the privileges of the user to su, instead of root. This will make you root, and you can then use passwd to set/change the root password.
if you are privileged user, then it will use the privileges of the user to su, instead of root. This will make you root, and you can then use passwd to set/change the root password.
Page 1 of 1

New Topic/Question
This topic is locked


MultiQuote




|