Ask Your Question
0

Incorrecr password error in Terminal

asked 2013-07-14 14:26:18 -0600

manik gravatar image

Hello

I keep getting incorrect password when trying to get superuser access with the command "su" but I am sure it is correct. I can also change password with the command "passwd" but it still keeps saying incorrect password. Any help?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2013-07-15 02:29:56 -0600

anishjp gravatar image

Enter into the run level 1 (press e when u are on the grub menu and add 1 to the kernel line) which will take you to a terminal with root access! Then you can change the password by the command passwd.

edit flag offensive delete link more
1

answered 2013-07-14 14:50:31 -0600

sideburns gravatar image

The password it's asking for isn't your password, it's the root password that you set when you installed Linux. You're using su to switch from your account to the root (or admin) account, so you have to use the root password to show that you're authorized to log in as root.

edit flag offensive delete link more
0

answered 2013-07-15 01:14:25 -0600

manik gravatar image

Thanks for the info. I think I know the root password, but am not too sure. Any way I can change the root password? Thanks

edit flag offensive delete link more

Comments

You just need to add a 1 to the kernel boot parameter line at GRUB time. This will get you to the single-user mode (run level 1). And you'll be able to use passwd to change your root password.

shaiton gravatar imageshaiton ( 2013-07-15 05:40:45 -0600 )edit

Question Tools

Stats

Asked: 2013-07-14 14:26:18 -0600

Seen: 1,108 times

Last updated: Jul 15 '13