LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 07: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, 08: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, 08: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, 09: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, 09:40 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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, 09: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, 09:56 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Overview of dropbear here.
 
Old 05-17-2010, 10:42 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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, 01:04 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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



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-02-2010 11:20 PM
Temporarily Allow Remote Connections to Dropbear pete1234 Linux - Networking 4 07-24-2007 09:01 AM
dropbear ssh with floppyfw rocordial Linux - Networking 1 07-04-2004 08:08 AM

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

All times are GMT -5. The time now is 07:35 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
Open Source Consulting | Domain Registration