Unix System V


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix System V
# 1  
Old 10-24-2012
Unix System V

Looking for some expert advice on this really old system...we're trying to convert it to a VM but it's ridiculously old and unfortunately still needed...It says its Unix System V and NCR 3000 or something...I'm not unix savvy but I can work my way through it.

Anyhow, I tried to do a cold clone of it but it needs a minimum of 264mb of ram, it only has 64mb. In order to do an online conversion, I need to be able to access it via ssh with root, unfortunately it doesn't work.

The only information I have about the ssh on it is that its 3.2.9.1 non-commercial version...I did edit the sshd2_config file to permit root user but I'm still getting access denied. I can login via a user account and it works fine...not sure what the issue is. I also tested out the telnet portion of it by disabling the console option in the default file and I can login via root with telnet so I'm guessing its something with ssh...can anyone offer any assistance? Thanks much!

-Mike
# 2  
Old 10-24-2012
You obviously can log on via the console.

Connect and try this to restart sshd
1. get the pid of the sshd process with
Code:
ps -ef | grep sshd

2. send a SIGHUP signal to the sshd process, to force it to reread the config file

Code:
kill -s SIGHUP [pid of the sshd process]

If that fails, can you test ssh with
Code:
telnet [ancient unix ip] 22

You will see something with
telnet somenode 22
Trying 10.128.3.243...
Connected to somenode.mycompany.com.


The ESC key will get you out.

Lets us know....
# 3  
Old 10-24-2012
Thanks Jim - here's what resulted:

Code:
# ps -ef|grep sshd
    root  2637     1  0 12:29:49 ?        0:00 ./sshd
# kill -s SIGHUP 2637
UX:kill: ERROR: bad signal
# telnet 10.64.11.159 22
Trying 10.64.11.159...
Connected to 10.64.11.159.
Escape character is '^]'.
SSH-2.0-3.2.9.1 SSH Secure Shell (non-commercial)
Connection closed by foreign host.
#

# 4  
Old 10-24-2012
ssh is working just fine.

What is going on with the root account I cannot say. But did you restart (stop and restart) sshd after you changed the config file?
# 5  
Old 10-24-2012
Yes but only by killing the PID and restarting it manually and I tried rebooting as well...I even put it in verbose mode but it wasn't telling me anything. It's just strange, I can login as a normal user fine and su over to root but root gives me access denied when I attempt it directly.
# 6  
Old 10-24-2012
get into root.
Code:
cd
cd .ssh
ls -la

Can you do that? Please post output.
# 7  
Old 10-24-2012
I think I know what your looking for, but directories are not standard on this machine...here's the contents:

Code:
# cd /etc/ssh2
# ls -la
total 68
drwxr-xr-x   5 root     other       1024 Oct 24 11:03 .
drwxrwxr-x  52 root     sys         5120 Oct 24 10:48 ..
-rw-------   1 root     other       1339 May 15  2007 hostkey
-rw-r--r--   1 root     other       1207 May 15  2007 hostkey.pub
drwxr-xr-x   2 root     other         96 May 15  2007 hostkeys
drwxr-xr-x   2 root     other         96 May 15  2007 knownhosts
-rw-------   1 root     other        512 Oct 24 15:13 random_seed
-rw-r--r--   1 root     other       2377 May 15  2007 ssh2_config
-rw-r--r--   1 root     other       2377 May 15  2007 ssh2_config.example
-rw-r--r--   1 root     other        122 May 15  2007 ssh_dummy_shell.out
-rw-rw-rw-   1 root     root           5 Oct 24 15:11 sshd2_22.pid
-rw-r--r--   1 root     other       6248 Oct 24 12:29 sshd2_config
-rw-r--r--   1 root     other       6209 May 15  2007 sshd2_config.example
drwxr-xr-x   2 root     other       1024 May 15  2007 subconfig

And here's the contents of the executables:

Code:
# cd /usr/local/sbin
# ls -la
total 16680
drwxr-xr-x   2 root     other         96 May 15  2007 .
drwxr-xr-x  22 root     other       1024 Feb  7  2012 ..
lrwxrwxrwx   1 root     other          5 May 15  2007 sshd -> sshd2
-rwxr-xr-x   1 root     other    2878096 May 15  2007 sshd-check-conf
-rwxr-xr-x   1 root     other    5660608 May 15  2007 sshd2

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Migrating jobs from COBOL Mainframe system to UNIX system

In a nutshell requirement is to migrate the system from mainframe environment to UNIX environment (MF cobol would be used I guess). I have not much of idea in this field. I need to do some investigation on following points - - Ease of conversion - Known Data compatibility issue - Issue in... (9 Replies)
Discussion started by: Tjsureboy4me
9 Replies

2. UNIX for Dummies Questions & Answers

Error UNIX: UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies

3. Shell Programming and Scripting

UNIX file system to Linux file system migration

We would be migrating UNIX file system to Linux file system. We do have many directory and sub directories with files. after migrating unix to linux file system , i want to make sure all the files has been copied ? What would be the best approach to validate directory ,sub-directory and file... (1 Reply)
Discussion started by: balajikalai
1 Replies

4. UNIX for Dummies Questions & Answers

Unix System Programmer Vs. Unix System Administrator

Hi friends, I hope you are all fine and doing well. First of all, let me say that I love Unix with passion. But I have one query in my mind that is bothering me. What should I do, Unix System Administration or Unix System Programmering. Could you please tell me the difference between the two. And... (3 Replies)
Discussion started by: gabam
3 Replies

5. UNIX for Dummies Questions & Answers

What are the career options in unix apart from unix system administration?

What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. UNIX for Dummies Questions & Answers

unix system v release 3.2 (sco-unix?)

another unix printing issue. our client based pc's used to print some form's to our hp printer. as of the moment they can not print. i have checked & did the ff: #lpstat -r (scheduler is running) i dunno if i need to restart the whole unix box via shutdown or just checking at... (15 Replies)
Discussion started by: jedimaster
15 Replies

8. UNIX for Dummies Questions & Answers

Converting a Windows system to a UNIX system

Hello I am looking for advise on how to convert a windows based computer system into a UNIX based operating system.. I would like to be able to learn UNIX better than I know it and work didn't allow me to work with UNIX much. Is there a book where I could learn how to accomplish that... (6 Replies)
Discussion started by: baksg1995
6 Replies

9. Answers to Frequently Asked Questions

What is unix and is linux a unix system

Unix is the name of an operating system. And unix is a registered trademark. This is what makes things murky. One of my favorite books is The Design and Implementation of the 4.3BSD UNIX Operating System. That book is out of print, but a newer book is available: The Design and Implementation... (0 Replies)
Discussion started by: Perderabo
0 Replies

10. UNIX for Dummies Questions & Answers

Difference between UNIX operating system and Unix Open Server

Hi, I recently joined this forum and new to UNIX. Is there any difference between UNIX operating system and UNIX open server? Please explain. (1 Reply)
Discussion started by: Manjit
1 Replies
Login or Register to Ask a Question