LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2016, 02:07 AM   #1
ak403602@gmail.com
LQ Newbie
 
Registered: Jul 2016
Posts: 1

Rep: Reputation: Disabled
Cancel command 'passwd'


How do I cancel the command 'passwd' without typing new or old passwd and without closing the terminal?
 
Old 07-26-2016, 02:50 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,887
Blog Entries: 1

Rep: Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007Reputation: 2007
Welcome to LQ.

You do not supply much information about your use case, so here is the simplest answer:

Hit the <ENTER> key when prompted for the old password to exit without resetting the password.

Whether or not the terminal closes depends on how passwd was invoked, not on how you exit from it.

If this does not answer your question, then please ask the real question clearly and describe what you are trying to do.
 
Old 07-26-2016, 02:50 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,171

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
Hit ctrl+c at any of the prompts
 
Old 07-26-2016, 03:10 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Ubuntu MATE, Mint MATE & antiX MX-15
Posts: 1,665
Blog Entries: 5

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
ak,

Welcome to LQ.

Putting your query to one side, it is probably a good idea to change your username to avoid receiving spam.

https://www.linuxquestions.org/quest...usernamechange
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I cant change my password with the passwd command errigour Linux - Software 3 12-15-2010 05:17 AM
Passwd command aborting on Solaris 10 liznthenya Linux - General 4 05-07-2010 04:29 PM
passwd command says BAD PASSWORD planetmars Linux - Newbie 9 09-19-2009 05:42 AM
Passwd Command and Algorithm movitto Linux - General 4 04-11-2006 10:50 PM
passwd command not working donovana Linux - General 3 03-09-2005 02:45 PM


All times are GMT -5. The time now is 04:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration