Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Data Export from Sun to Windows Box

Posted on 2004-11-25
2
Medium Priority
?
310 Views
Last Modified: 2013-12-27
I have a Sun solaris box here, I need to export some data from this computer to my windows machine. Both are are connected to internet using lynsys router. I assigned a temp Ip(192.168.0.109) to solaris box, now I need to dump data from this box to another xp machine(ip: 192.168.0.108) . I tried to connect to solaris box by going to Xp machine and from command prompt
ftp 192.168.0.109 , it ask for user name , so I put root and then it ask for password, but I dont have a password on solaris box now.
tell me what else I need to do?
0
Comment
Question by:shahedny
2 Comments
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 360 total points
ID: 12678147
I think it is easier for you to use FTP to transfer the date between the Windows PC and Solaris box.

if you don't have a login account, you can't do it. (I assume the Solaris box is the one you
have reset the root password in your other question.)

It is not good to allow FTP login for root, insecure! (FTP should be replace by secure shell/secure ftp in pratical, sinece you are playing at home, it is good enough).

login as root to your Solaris box, run:
admintool

to add a user. "admintool" is GUI, very easy to user. if you have problem, please read
the Solaris administrator's Guide, you can get all the Sun docs from:
http://docs.sun.com/app/docs/prod/4028#hic

Install GUI FTP client for you Windows XP PC, eg:
AceFTP: http://software.visicommedia.com/en/products/aceftpfreeware/
or:
http://www.cuteftp.com/cuteftp/
or
other GUI FTP client

login as a normal user and transfer files.

Or,
secure way:
download openssh from:
http://sunfreeware.com/

search EE to find out how to set it up. (I have answered question for Solaris ssh
installation)

then install secure shell client for Windows PC, eg:
http://www.chiark.greenend.org.uk/~sgtatham/putty/

Or

set up samba (more complicated to setup):

http://us4.samba.org/samba/
http://sunfreeware.com/

PS: this could be a big question, it depands on your experience.
0
 
LVL 38

Accepted Solution

by:
wesly_chen earned 140 total points
ID: 12682402
> Both are are connected to internet using lynsys router
So two machines are in private LAN.
You can either do "passwd root" on Solaris box to change the root password, or
"useradd -m -d /home/ftptmp ftptmp; passwd ftptmp" to create an "ftptmp" account on Solaris box (asn assign the password
to ftptmp account".
So you can ftp into Solaris as root or "ftptmp" account.

yuzh provide more secure way.
However, for short time temparory solution, my way is ok.

Wesly
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

572 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