Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8905951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:31:30+00:00 2026-06-15T02:31:30+00:00

I am currently writing a custom shell for a project for an Operating Systems

  • 0

I am currently writing a custom shell for a project for an Operating Systems class. I have the basic functionality working, as well as redirection, piping and other things. I am using the execvp() command for executing commands already present in the PATH variable.

One of the requirements for this shell is to remotely connect to another computer, similarly to the way one would do on linux like ssh root@hostname. Of course it doesn’t have to be secure or anything at all like SSH, just basic remote functionality.

I am not sure how to tackle this problem. Any tips for where to start or how to approach the problem would be welcome.

Thanks!

Environment:
Ubuntu 12.10
Compiling with Clang

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T02:31:31+00:00Added an answer on June 15, 2026 at 2:31 am

    Traditional shells aren’t involved in remoting; ssh does all of that, and sh/bash/ksh/etc. are run after the connection is established.

    When you login to a user account the shell that’s configured in /etc/passwd will be run. All you should have to do is list your shell in your user’s entry. You can set a user’s shell with chsh, or by editing /etc/passwd manually.

    You may also want to add your shell to /etc/shells.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a plug-in for a 3D modeling program. I have a custom class
I am writing a custom tool and I currently have it doing what I
I am currently writing a custom context menu class which utilizes jQuery largely. We
I'm currently writing an custom control which has to hold child control and have
I am currently writing a custom HttpModule in an ASP .NET MVC 3 project.
I am currently writing a small custom memory Allocator in C++, and want to
I am currently writing a Java compiler and have implemented section 15.12.2.7. of the
I'm currently writing DataTemplate for my custom type lets say FootballPlayer. In this template
I'm currently writing a program in c# wpf with a custom window. So because
I'm writing a custom form UI and currently building a select box replacement. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.