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 11-10-2014, 08:28 AM   #1
shri1984ram
LQ Newbie
 
Registered: Oct 2014
Posts: 5

Rep: Reputation: Disabled
stty in non interactive mode


I am executing a command through script in remote server which is of non-interactive mode. I've gone through the link and found the below errror is because of running stty in non-interactive mode.http://compgroups.net/comp.unix.shel...ing-ssh/506594
stty -echo
useradd <useraname> -m <password>
stty echo

stty is used not to show passwords in terminal. But i am getting
stty: standard input: Invalid argument
as in output.

How to get rid of this error in my output.
 
Old 11-10-2014, 08:51 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,514

Rep: Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436Reputation: 2436
I do not really understand your problem, the link you gave explains it and also there is a solution
 
  


Reply

Tags
linux, shell, stty


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
emcgrab in non-interactive mode abhisheks77 Linux - Software 2 10-23-2014 03:51 PM
interactive mode nagavinodh Linux - Newbie 6 04-07-2010 07:22 AM
Cannot get into Interactive Mode on RHEL-Itanium Marc Thoelen Linux - Enterprise 1 04-02-2007 10:45 PM
permanant interactive mode stand Linux - General 1 04-19-2004 06:21 AM
SuSE 8.1 - Is there an interactive mode during load? gracecourt Linux - Newbie 3 12-24-2002 11:58 PM


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