Solved

How do I send commands to a unix box from delphi...

Posted on 2001-06-08
3
305 Views
Last Modified: 2012-05-07
Is there a way that I can send commands to a unix box from a delphi application?  I need to have the users change thier password when it expires, but do not want them to all log into the unix box via telnet (would be more trouble than it's worth).  Thanks.

Michael W. Bourlier
0
Comment
Question by:bourlier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Accepted Solution

by:
Richard Quadling earned 170 total points
ID: 6168125
I would suggest that there is no easy way to do this, but I think, as long as you can run a program from within windows that resides on the unix box, then you are on a winner.

To me, this requires something like Samba. There are probably others, but this is all I know about (only about!).

So. The program on the unix box COULD simply be the program to change password. My concern is how does the unix box know that the new password is valid and not simply anything?

i.e. Why can't I change "root"'s password to "easy"?

I suspect you have to supply the old and new passwords.

This is not a solution, but a possible way of doing things.

I suspect you will need a unix program to actually change the password, but you should be able to call it from a pc with a connection to the server.

Regards,

Richard.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6168154
bourlier, why not make a delphi program which interfaces via TELNET to the unix box but gives the user a nice frontend for that?
0
 
LVL 5

Expert Comment

by:Jeff_2
ID: 6168871
Listening...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question