LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01: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, 01: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: 4,270
Blog Entries: 1

Rep: Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304Reputation: 2304
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, 01:50 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,380

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Hit ctrl+c at any of the prompts
 
Old 07-26-2016, 02:10 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18 MATE, antiX-16.1, MX-16
Posts: 2,061
Blog Entries: 9

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
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 04:17 AM
Passwd command aborting on Solaris 10 liznthenya Linux - General 4 05-07-2010 03:29 PM
passwd command says BAD PASSWORD planetmars Linux - Newbie 9 09-19-2009 04:42 AM
Passwd Command and Algorithm movitto Linux - General 4 04-11-2006 09:50 PM
passwd command not working donovana Linux - General 3 03-09-2005 01:45 PM


All times are GMT -5. The time now is 04:18 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