Ask Your Question
0

v.F18 Password command isn't working to change su password (running v.F18 and Ubuntu)

asked 2013-10-04 16:02:20 -0500

carolynfeikminor gravatar image

updated 2013-10-05 02:38:29 -0500

FranciscoD_ gravatar image

When attempting to change the su password during the boot session for F18, the usual password command will not change the super user password. Documentation online suggests that two statements are needed, but the second statement needed after "password" doesn't appear in the v.F18 documentation. What is the correct code?

Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-10-04 16:40:11 -0500

sideburns gravatar image

I'm not sure what you mean by "the boot session," unless you meant "root session," because what you're trying to change is the password for root. If that's what you want, open a terminal and become root:

su -

and give the current root password when prompted. I'm suggesting "su -" instead of just su to get you fully logged in as root, with root's complete environment, just to be careful. Then, enter this:

passwd

When prompted, give the new password (It won't echo, so don't worry if nothing shows up in your terminal session.) and then, when asked, give it again. If and only if you've typed it exactly the same way both times, you'll be told that your password has been changed.

In case anybody reading this thinks that I'm giving information that could help an attacker gain control of a system, I'd like to point out that the only way to do this is to know the current root password and if an attacker already knows that, there's no need for this. Changing the root password if you've forgotten it is an entirely different kettle of fish that I'm not about to discuss in public.

edit flag offensive delete link more
1

answered 2013-10-04 23:12:01 -0500

hawkfeather gravatar image

updated 2013-10-04 23:19:38 -0500

Or without logging in as root, you could use either passwd root or sudo passwd.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-10-04 16:02:20 -0500

Seen: 194 times

Last updated: Oct 05 '13