Operating System - HP-UX
1834009 Members
3133 Online
110063 Solutions
New Discussion

remote deletion of user account

 
SOLVED
Go to solution
Scott E Smith
Frequent Advisor

remote deletion of user account

Hello all, I need to be able to remotely execute the userdel command from another HP-UX host (host a logs into host be and runs userdel -r XXX). What would be the most secure way to do this. I have been looking at rexec but is is not very secure. What would you suggest? Thanks.
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor
Solution

Re: remote deletion of user account

You need to download and install ssh if you want the secured way of remote execution.

Check the site

http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/openssh-2.5.1p1/

for SSH. You need to do some reading before you can have it up and running.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: remote deletion of user account

Hi Scott,

I guess "remsh" would be the choice. Your hosts and username should be defined in the /.rhosts file on the remote server.

Thanks
Jeffrey S. Sims
Trusted Contributor

Re: remote deletion of user account

Scott,

Openssh is probably the best option as far as security goes. You can download it from the link Sridhar gave you or you can get the latest version at http://www.openssh.com/portable.html

OpenSSH requires OpenSSL ( http://www.openssl.org/ ) and Zlib ( http://www.gzip.org/zlib/ ) to operate. There are installation instructions that give you this info at ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/INSTALL

Hope this gets you rollin.