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 05-17-2010, 08:34 AM   #1
ajink
LQ Newbie
 
Registered: May 2010
Posts: 11

Rep: Reputation: 0
dropbear


I am trying to understand dropbear... I have understood what is for, but can you let me know how can I make it open different shell depending on the command line argument
 
Old 05-17-2010, 09:04 AM   #2
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
I suggest you explain yourself a bit more clearly if you want any meaningful help/answers to your questions. At this point I'm not understanding the question.
 
Old 05-17-2010, 09:24 AM   #3
ajink
LQ Newbie
 
Registered: May 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Actually I need the dropbear to call a different shell, depending on the command line argument I give... For ex - If I give command line argument as tcpdump, it should call a different shell, instead of the regular shell that it would call from /etc/passwd.
 
Old 05-17-2010, 10:28 AM   #4
ajink
LQ Newbie
 
Registered: May 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Exclamation dropbear

Please can you tell me that in the dropbear source code, where is the exact point at which the shell to be called and the command to be executed is fetched...
 
Old 05-17-2010, 10:40 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Welcome to LQ!

Quote:
Originally Posted by ajink View Post
Please can you tell me that in the dropbear source code, where is the exact point at which the shell to be called and the command to be executed is fetched...
I'm not sure as to the reason for your question? Your query is about the source code and why? Details?

'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future.

'UseDropBearForRemoteAccess' HOWTO maybe of some help for usage if that's what your asking.
 
Old 05-17-2010, 10:50 AM   #6
ajink
LQ Newbie
 
Registered: May 2010
Posts: 11

Original Poster
Rep: Reputation: 0
actually I wanted to send some command line argument...and with this argument dropbear calls a different shell
 
Old 05-17-2010, 10:56 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Overview of dropbear here.
 
Old 05-17-2010, 11:42 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

Quote:
Originally Posted by ajink View Post
actually I wanted to send some command line argument...and with this argument dropbear calls a different shell
It would help if you show us what you are attempting.
 
Old 05-17-2010, 02:04 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. I have merged your two threads.
 
  


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
Busybox and dropbear related problem linuxwang Linux - Newbie 3 02-03-2010 12:20 AM
Temporarily Allow Remote Connections to Dropbear pete1234 Linux - Networking 4 07-24-2007 10:01 AM
dropbear ssh with floppyfw rocordial Linux - Networking 1 07-04-2004 09:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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