LinuxQuestions.org
Review your favorite Linux distribution.
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 12-28-2011, 04:57 PM   #1
landog
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Rep: Reputation: 0
migrating off of SCO UNIX


I have inherited support of a SCO UNIX box. We would like to migrate an application off of the UNIX box - if only to better understand it. The system is 10 years old and if I can migtare to a new server and provide a backup for it, we'd feel better.

The person who developed the application is no longer alive.

I'm not sure what the application is, actually. I think it might be a BASIC program. When users telenet to the server, they get a menu. When 'root' telnets in, 'root' doesn't get this menu.

So, where is the configuration for what a user gets presented with at login set? Where do I start to look?

Thanks,
-dog
 
Old 12-28-2011, 05:09 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,330

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by landog View Post
I have inherited support of a SCO UNIX box. We would like to migrate an application off of the UNIX box - if only to better understand it. The system is 10 years old and if I can migtare to a new server and provide a backup for it, we'd feel better.

The person who developed the application is no longer alive.
If they developed it for SCO, they may just be hiding...
Quote:
I'm not sure what the application is, actually. I think it might be a BASIC program. When users telenet to the server, they get a menu. When 'root' telnets in, 'root' doesn't get this menu.

So, where is the configuration for what a user gets presented with at login set? Where do I start to look?
I feel your pain, and have been there before. Chances are it's not BASIC, but may be as simple as an ncurses/bash program. If all your users get it, the first place to look would be in each users .profile file. Could also be .bashrc or .bash_profile, but start with .profile. Those are the files that normally get run when a user logs in, and commands/variables can be set there.

Identify the programs/commands that are run, and step through them. You can identify the program from there, and probably the directory it's running in as well. If you don't see anything in those files, check the /etc/profile (may be different in SCO, like /etc/default/profile), and see if you can spot it there. May be a little shell-script that checks for a user group ID, and runs a program accordingly. Once you identify it, you can start to pull it apart, and see what you can do. Good luck.
 
1 members found this post helpful.
Old 12-28-2011, 09:31 PM   #3
landog
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Original Poster
Rep: Reputation: 0
When some users log on - with a terminal emulation program, they get a menu that is presented by 'Thoroughbred BASIC'
When one particular user account logs on, I get a menu with a title of:

THOROUGHBRED BASIC UTILITIES
SCO OSR5 386 8.4.1;

Still haven't found how which user gets which display. The .profile files (in /usr/username) all look identical.
is there a profile file for groups?

Thanks,
-dog
 
Old 12-29-2011, 02:17 AM   #4
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by landog View Post
When some users log on - with a terminal emulation program, they get a menu that is presented by 'Thoroughbred BASIC'
When one particular user account logs on, I get a menu with a title of:

THOROUGHBRED BASIC UTILITIES
SCO OSR5 386 8.4.1;

Still haven't found how which user gets which display. The .profile files (in /usr/username) all look identical.
is there a profile file for groups?

Thanks,
-dog
You can have a look at the /etc/passwd. One of the fileds is program running on login.
 
Old 12-30-2011, 08:21 PM   #5
landog
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Original Poster
Rep: Reputation: 0
no such luck

Quote:
Originally Posted by Valery Reznic View Post
You can have a look at the /etc/passwd. One of the fileds is program running on login.
There is no file /etc/passwd

Any other ideas??

Thanks!
-dog
 
Old 12-30-2011, 08:56 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I've never heard of a *nix system not having an /etc/passwd file, even if authentication is handled by some other mechanism. Is there an /etc/shadow or /etc/group file, by any chance? If you try to do "finger X" from a shell (where X is replaced by a valid user name ont he system), what do you get?

Can you post the results of "uname -a" so we can see what version of SCO you're running?
 
Old 01-15-2012, 05:20 PM   #7
landog
LQ Newbie
 
Registered: Jan 2006
Posts: 23

Original Poster
Rep: Reputation: 0
Thank you for your reply!

There is indeed an /etc/passwd file. I see where it set each user's home directory to the same directory. In that directory I see a .profile file that launches a BASIC program.

"uname -a" returns: SCO_SV 3.2 5.0.5 i386

There are two SCSI drives in this system - a Dell Poweredge 1300. There is no hardware RAID controller - only a regular SCSI bus. How can I tell if the drives are mirrored by the OS?

I have a spare Dell Poweredge 1400. When I put the hard drives in it, it will not boot up. It says:
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Digi RealPort Driver 2.3.0
WARNING hdi no root disk controller was found
H iinit imc Loadable Driver may be required drain 8042

PANIC svmount fin - Error 19 mounting rootdev (1/42)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Is there a way to prep the disk so I can use it in the Poweredge 1400?

I think that I would like to mirror the drives to a couple of spares, and install the spares in the Poweredge 1400 - so I have redundancy..


But, if I can figure out how to run this basic program on a new system, that's might be a preferred approach.


Thanks!
 
Old 01-15-2012, 06:05 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 19,330

Rep: Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473Reputation: 4473
Quote:
Originally Posted by landog View Post
Thank you for your reply!
There is indeed an /etc/passwd file. I see where it set each user's home directory to the same directory. In that directory I see a .profile file that launches a BASIC program.

"uname -a" returns: SCO_SV 3.2 5.0.5 i386

There are two SCSI drives in this system - a Dell Poweredge 1300. There is no hardware RAID controller - only a regular SCSI bus. How can I tell if the drives are mirrored by the OS?
You can try running scoadmin, and checking there, but be VERY careful. SCO isn't the most user-friendly OS in the world, and it's fairly arcane. If you don't have good backups and don't have SCO support to call, you could be in a world of hurt.
Quote:
I have a spare Dell Poweredge 1400. When I put the hard drives in it, it will not boot up. It says:
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Digi RealPort Driver 2.3.0
WARNING hdi no root disk controller was found
H iinit imc Loadable Driver may be required drain 8042

PANIC svmount fin - Error 19 mounting rootdev (1/42)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Is there a way to prep the disk so I can use it in the Poweredge 1400? I think that I would like to mirror the drives to a couple of spares, and install the spares in the Poweredge 1400 - so I have redundancy..
There may be, but I think it'd be far better to find your SCO install media, and do a clean install to the spare disks, and copy the basic app over, and see if it works.
Quote:
But, if I can figure out how to run this basic program on a new system, that's might be a preferred approach.
According to Thoroughbred's website, their basic interpreter runs on Linux. Might be worth it for your company to buy a copy, and go full Linux right off the bat.
 
Old 01-16-2012, 02:55 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by TB0ne View Post
According to Thoroughbred's website, their basic interpreter runs on Linux. Might be worth it for your company to buy a copy, and go full Linux right off the bat.
+1 to that, to get to a supported/supportable position ASAP.

IMHO adding HDDs/mirroring to the system is a high risk venture for a relatively small reduction in hardware failure risk.

Meanwhile, what does the BASIC look like? It is unlikely that the BASIC was developed on SCO UNIX (would be a poor choice) so chances are it was ported from some other OS that was being discontinued in the organisation (MS-DOS?). With a bit of luck the BASIC is not very large or complex.

What per-user processes run when a user is using the BASIC app?
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Migrating from Unix to Linux amazingsol Linux - Newbie 2 10-06-2006 01:06 PM
Sco Unix thiyagu4u Other *NIX 11 05-02-2005 06:09 AM
SCO vs Novell - SCO claims ownership to UNIX Ephracis General 5 10-02-2004 03:55 PM
sco unix mannyfresh Linux - Software 2 06-17-2004 02:17 PM
sco unix mannybabe Linux - Hardware 0 08-04-2003 07:27 PM

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

All times are GMT -5. The time now is 09:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration