LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-19-2008, 04:50 AM   #1
hillpigLQ
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
i use the command "passwd" ,how to redirect input to a file?


i use the command "passwd" ,how to redirect input to a file?
 
Old 09-19-2008, 12:31 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
For security reasons, the password command does not use standard IO to read user entry, so cannot be redirected from a file.
--- rod.
 
  


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 use the command "passwd" ,how to redirect input to a file? hillpigLQ Linux From Scratch 1 09-19-2008 05:15 AM
the problem of "unable to lock the passwd file" greenland666 Linux - General 3 11-10-2007 09:21 AM
?'s about "who" command and "sudo passwd" command 200mg Linux - General 2 06-14-2007 02:17 PM
bash: passwd: command not found "HELP" balweg Red Hat 4 05-05-2005 03:47 PM
Can I redirect script output to a file without ">> $LOGFILE" at the end of each line davee Linux - General 1 12-19-2003 05:01 AM


All times are GMT -5. The time now is 01:39 AM.

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