Solaris 10 FTP Server
Hi. I am an operator hoping soon to become an administrator. I have been asked to setup a secure FTP server in solaris 10. Could somebody possibly outline the basic stages of what needs to take place. I would be grateful for any info offered. Thanks
Hmm, do you want to setup an ordinary FTP server in a more secure maner, or do you want to use the Secure FTP server which is boundled with SSH?
The FTP server boundled with SSH is on by default, check the man page for sftp .
Similar Messages
-
I'm new to Solaris 10 and need help to setup ftp server
hello!
I just installed Solaris 10 and I'm trying to setup an ftp server (with ftpd) but I don't know how to do that
my server doesn't need any security or authentication
I'm looking for the default shared files directory
Also wondering what to change in what configuration file...
This OS looks quite similar to some linux I used before but the differencies are big enough to drive me crazy
anyway thanks for your help.
Any advice is welcome :-)cd /etc/ftpd
vi ftpusers
put a # in front of root and any other users that you wish to be able to ftp
then svcadm restart ftp
If you want to set up an anonymous ftp server, there is a little more involvement -
Configuring Solaris 8 FTP Server
I am new to solaris 8. Can anyone help me on where to go or what file to edit to configure my ftp server. The main goals that I want to accomplish are to change the default ftp directory and to specify a login password. I would also like to know how to enable ftp upload.
- Thank youHi,
If you must log into the ftp server as root for some reason you have to first edit the ftpusers file. This file lists all the users who can not use ftp. The file is found here /etc/ftpusers. If you remove the entry root from this file it will allow root to log into the ftp server.
Hope This Helps.
Regards,
Andrew
Sun Developer Technical Support -
Install a FTP Server and GUI on Solaris 2.5.1.
Hi All.
I have two questions.
1. What i have to do to install a FTP server on the installed Solaris 2.5.1 ?
2. How can i install GUI on the same system ?
I've installed Solaris on the Sparc Station, but, by default, the GUI was not installed
on it.
And now, when i turn on the power, i see only the command promt on the screen.
How can i fix this "bug":-)
Help me if you can.
Thanks.1) The Sun provided FTP server should already be installed on the system unless the machine has been installed using a minimal install cluster. You might consider using something like ProFTPd. This is a VERY configuration FTP server and is a much better FTP server then the FTPd that comes with Solaris 2.5.1. See http://www.proftpd.org for more info.
2) This is isn't a bug its actually a requirement for most people for servers in production or even development environments. The X "GUI" chews up a not insignificant amount of memory and proposes a security risk. To reactivate the GUI for startup at boot time, run this as root:
/usr/dt/bin/dtconfig -e
This of course assumes all the expected CDE/OpenWindows packages are available on the system. I haven't used CDE in years but I think you need to reboot the system to get CDE to startup correctly and grab the console. Not sure if starting it up while you are logged into the console will work.
P.S. CDE is a PPPIIIGGGG. Run something respectible like Fluxbox or Blackbox. Heck, Gnome and KDE are pigs too but they are still better then CDE - twm is better then CDE LOL :)
3) You said "I've installed ..." - I assume this means recently. You might consider upgrading to a more recent release of Solaris. Solaris 2.5.1 is rather "out of date" - this is not troll bait folks. -
Can't login to solaris 8 ftp server
I can't login to my solaris 8 ftp server from another computer. When I type in the username (root) and my password (the password I use to login to my CDE), it tells me that the password is incorrect. I am a beginner at this, and any help is greatly appreciated.
Thankyou.Hi,
If you must log into the ftp server as root for some reason you have to first edit the ftpusers file. This file lists all the users who can not use ftp. The file is found here /etc/ftpusers. If you remove the entry root from this file it will allow root to log into the ftp server.
Hope This Helps.
Regards,
Andrew
Sun Developer Technical Support -
Setting up the FTP Server on solaris 10 - Connection Problems
G-day
I am trying to set up the inbuilt FTP Server. I have followed a number of guides to set this up but have still been unable to connect to it. When trying to connect to it, it reads:
Connected, waiting for response...
220 unknown FTP server ready
USER anonymous
331 Guest login ok, send your complete email address as password
PASS (not shown)
530 Can't set guest privelages
Not Logged in
Can any1 shed some light on this please?FTPACCESS FILE
# ident "@(#)ftpaccess 1.2 03/05/14 SMI"
# FTP server configuration file, see ftpaccess(4).
class realusers real *
class guestusers guest *
class anonusers anonymous *
loginfails 3
passwd-check trivial warn
private no
shutdown /etc/ftpd/shutdown.msg
# email user@hostname
# guestuser username
# rhostlookup no
keepalive yes
recvbuf 65536 real,guest,anonymous
sendbuf 65536 real,guest,anonymous
# flush-wait no anonymous
# passive ports 0.0.0.0/0 32768 65535
# timeout data 600
# timeout idle 300
banner /etc/ftpd/banner.msg
greeting brief
message /etc/ftpd/welcome.msg login
message .message cwd=*
readme README* login
readme README* cwd=*
# quota-info *
chmod no anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous
umask no anonymous
compress yes realusers guestusers anonusers
tar yes realusers guestusers anonusers
path-filter guest,anonymous /etc/ftpd/filename.msg ^[[:alnum:]._-]*$ ^[.-]
noretrieve relative class=anonusers /
allow-retrieve relative class=anonusers /pub
upload class=anonusers * * no nodirs
# upload class=anonusers * /incoming yes ftpadm ftpadm 0440 nodirs
# log commands real,guest,anonymous
# log security real,guest,anonymous
# log transfers real,guest,anonymous inbound,outbound
# xferlog format %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr
# limit-time anonymous 30
# limit anonusers 10 Wk0730-1800 /etc/ftpd/toomany.msg
# limit anonusers 50 SaSu|Any1800-0730 /etc/ftpd/toomany.msg
# FTP Test
upload /export/home/ftp /pub yes ftp other 0600 nodirs
FTP USERS FILE
# ident "@(#)ftpusers 1.5 04/02/20 SMI"
# List of users denied access to the FTP server, see ftpusers(4).
root
daemon
bin
sys
adm
lp
uucp
nuucp
smmsp
listen
gdm
webservd
nobody
noaccess
nobody4
These are pretty much still at the default status.
Thanks mate -
FTP Server have been accessed by Internet Explorer 7
Please,
I have configured a FTP Server on Solaris 9. It is working very well, but yesterday when I tried to connected through my browser Internet Explorer 7 I got a surprise, bad surprise... When I type my user and password the filesystem tree of my server appeared to me... I could see and access all content of root filesystem, instead of only can see the content of my home folder...
Did anyone face this problem????Hi,
Maybe you missed a step during setup of your anonymous ftp server?
http://docs.sun.com/app/docs/doc/819-2240/ftpconfig-1m?l=en&a=view&q=ftpconfig
http://docs.sun.com/app/docs/doc/817-1717/wuftp-10?l=en&a=view&q=anonymous+ftp
John -
IPS 6.0 Supported FTP Server??
Hi,is it true that we can only use supported ftp servers that are documented in cisco for updating ips signatures or image?
###cisco ips 6.x document ####
The following FTP servers are supported for IPS software updates:
⢠WU-FTPD 2.6.2 (Linux)
⢠Solaris 2.8
⢠Sambar 6.0 (Windows 2000)
⢠Serv-U 5.0 (Windows 2000)
⢠MS IIS 5.0 (Windows 2000)
can we use ordinary ftp servers other than ftp servers listed above?? thanksWhen originally implemented the ftp auto update feature had several problems when using other ftp servers.
The implementation has changed over the past few years, and become more generalized.
So the listed FTP Servers are the ones "officially" tested and supported.
However, it should work with most other FTP servers as well.
I would recommend trying it with whatever FTP server you already have running. If it works then great; you are probably fine to keep using it.
If it doesn't work with your FTP server, then you can contact the TAC. If it turns out to be an incompatability between the sensor and your FTP server, then the issue would have to be entered as an enhancement request to get your FTP server supported rather than an actual bug.
We used to hear alot of incompatability problems with other FTP servers a few years ago.
But I haven't heard of any in the past 2 years.
If it is not working, then it is usually not a problem with the actual FTP server, but rather in how it was configured.
Here are a few examples of issues that are sometimes seen, and can be avoided with configuration of the FTP server.
Additional login messages can sometimes confuse the sensor (like warnings about who can access the box).
The FTP server has to be configured to use unix style directory listings instead of windows style.
Permissions on the files themselves can be a problem.
Renaming of the files after being pulled from cisco.com can cause problems, so keep the filenames exactly as seen on the cisco.com pages.
Keep directory names to letters and numbers to avoid parsing problems with the directory name. -
Hi All,
I have a requirement where I need to delete a file from the FTP server. How do I do that?
Thanks in Advance.
Regards
JaspreetHi,
refer this link,
[ABAP solution to implement FTP transactions |http://wiki.sdn.sap.com/wiki/display/Snippets/ABAPsolutiontoimplementFTP+transactions]
Regards,
Vijay -
How can i do scheduled automatic backups to an ftp server in ios xr?
Hello guys! As the title says im looking forward to automatically back up my running config on a cisco CRS-1 to an FTP server. I was only able to find this config example:
Configuration commit auto-save filename ftp://A.B.C.D/myconfig.txt
This allows me to save my config to an ftp server everytime i use commit on the device. Now i want to know if there's a way to automatically save my configs everyday at 00:00 and also include the date and time in the name of the file so i don't overwrite the existing files in the ftp server.
I dont want to use any tool i just wanna know if what im asking is possible via CLI commands. I would greatly appreciate your help with this subject.
Regards,
DavidNot sure if this script will work on a CRS, but try this:
archive
log config
logging enable
hidekeys
path tftp:///$h-
write-memory
time-period 10080
Explaination:
There are two ways to save your config to your remote station:
1. When someone saves the config; and
2. At an alloted time period, expressed in 10080 (weekly for me). -
Error when scheduling WEBI report to FTP server
Hi
We are getting error "destination directory error. CrystalEnterprise.Ftp: 550 Requested action not taken" while scheduling WEBI report to FTP server.
Any help would be appreciated
Regards,
AnisaHi All,
I want a run my report once by scheduling, so i provide a time interval for scheduling a report
start date/ time : 11:38:AM 10/30/2011
end date/time : 11:43:AM 10/30/2011
after completion of end time....report is failed and fetching an error
Error : Object could not be scheduled within the specified time Interval
Any solution for resolving this error -
Java ftp server which can use LDAP, how to integrate with WLS' implementation of LDAP?
Howdy.
I'm setting up a java ftp server
(http://www.mycgiserver.com/~ranab/ftp/index.html) which is capable of using
LDAP for it's user security. I would like to integrate this ftp server with
wls' implementation of LDAP so I only have to admin one user list.
Does wls put it's user list in the LDAP or in it's own proprietary setup? I
tried playing around with it, but the users don't seem to appear in the JNDI
tree. Is this where the LDAP stuff is located? I thought it was in there?
If it's in it's own setup, is there a way to propagate the users to LDAP?
If these look like newbie Q&A, I guess they kind of are, I'm new to LDAP.
Thanks for any input you might have.Peter,
If you are talking about using the embedded LDAP server in WLS 7.0 for this purpose
I think you are going done the wrong path.
Look at the following URL on how to use an external LDAP server for your custom
application
http://e-docs.bea.com/wls/docs70/secmanage/realm.html#1172008
Chuck Nelson
DRE
BEA Technical Support -
Output to an ftp server via Destinations or Applescript
In Compressor, you can set the Destination of a compression batch to be a remote server, such as an ftp server.
When you start a batch, if the destination is not available or reachable then the documentation (p.230) says: "When there is a problem with your destination, a yellow warning triangle appears. You must resolve this problem before you can successfully transcode."
Although I have not tried it, it implies that if your remote ftp server is not accessible when you drop a file on a created droplet with the Destination set to an ftp server, it won't be able to begin encoding until the destination is available: "As soon as you resolve the problem, the warning triangle disappears and you can continue to transcode." (p.230)
For a lot of people, this is OK.
Some people need to compress and then tranfer the output to a distant location, and they may not have continuous, reliable access to the remote location. They may need to make a temporary connection via modem dial-up, satellite phone or third-world Internet connections. Think news reporters in remote locations.
So, for those people, the option of Applescript should allow them to have their output files saved to a local destination, and then staged up to the ftp server using the built-in commands. But, the problem is that a small file is created at the Destination when the compression is started, and Compressor is not Applescript aware (apart from being able to call an Applescript). This means that any Applescript called as a post processing activity knows nothing about the files Compressor just processed and outputted. It has to glean information about them from the Destination folder where the output files are placed, and then sort out the completed output files from the ones that have just been started, then ftp the completed files up to an ftp server and delete sent files from the Destination folder.
What I would like to see is either
1) a Staged Destination where files are created on the first Destination then staged to a secondary Destination, with an option of keeping these files on the first destination, and/or
2) Applescript support in Compressor which will allow information about the files that have just been compressed to be passed to another Applescript aware application or script.
I would be happy even with some sample Applescript to do the transfer or files from Destination to an ftp server that avoids copying files that haven't been fully processed.
Has anyone else run into these issues?
Bill LeeOh, trust me, I do know about Apple and the fact this discussion site is not an official contact point for Apple. I'll be escalating this Request for Enhancement through my contacts at Apple.
There is a reason I have not posted before in this forum (and relates to the above).
There seems to be few people who are using the Applescript post-processing feature, and I was trying to gauge any support for enhancements in this area (and maybe stir up some villagers with pitchforks and burning torches).
Apple will listen to normal users input, but it needs to have a business case that justifies any resources devoted to this. The more people affected, and the greater the impact on your business, and the size/importance of your business has an effect on whether you will get what you want, and when.
Sorry if I was not clear on what I wanted: information as whether this was important for other (non-Apple) people, and whether people had scripts that solved the problem of staging output files to an ftp server that was not consistently connected during the compression process.
Thanks for your reply,
Bill Lee -
No Data in PDF file in FTP server
Hi All,
I am trying to place a PDF file in FTP server.
Used
CONVERT_OTFSPOOLJOB_2_PDF to convert spool to PDF
SCMS_TEXT_TO_XSTRING
FTP_R3_TO_SERVER to transfer data to FTP.
I am able to see PDF file in FTP and no of pages matches with that of R/3 but there is no data in PDF file.To get pdf file , you need to set the itcpo-tdgetotf = 'X' and need to pass in the exporting parameter (options in open_form function module ).Then in close_form function module take all the data of otfdata table into an internal table . Then use SX_OBJECT_CONVERT_OTF_PDF function module to convert it to pdf.
I will show with an example.
tables itcpo.
DATA: ch_otf TYPE STANDARD TABLE OF itcoo.
DATA: w_otf TYPE itcoo.
DATA: w_pdf TYPE solisti1. "For PDF
DATA: i_content_txt TYPE soli_tab.
DATA: temp1 TYPE sx_format VALUE 'OTF',
temp2 TYPE sx_format VALUE 'PDF'.
DATA: c_printer TYPE sx_devtype VALUE 'PRINTER'.
DATA: w_transfer_bin TYPE sx_boolean. "Content
DATA: i_content_bin TYPE solix_tab, "Content
wa_content_bin TYPE solix,
i_objhead TYPE soli_tab.
itcpo-tdnoprint = 'X'.
itcpo-tdpreview = 'X'.
itcpo-tdgetotf = 'X'.
These three parameters need to be passed along with other required parameters
CALL FUNCTION 'OPEN_FORM'
EXPORTING form = xformular
language = ekko-spras
OPTIONS = itcpo
archive_index = toa_dara
archive_params = arc_params
device = xdevice
dialog = xdialog
mail_sender = sender
mail_recipient = recipient
EXCEPTIONS canceled = 01.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = RESULT
tables
otfdata = ch_otf.
LOOP AT ch_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
converting otf file to pdf file
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = temp1 "'OTF'
format_dst = temp2 "'PDF'
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
Then open dataset and transfer to ftp of the content of table content_bin(i_content_bin) as shown in above example.
I think this will be helpful for you -
How to read the file from ftp server
Hi
I need to read a file from a ftp server . Iam using apache lib common-net .jar .
FTPClient ftp = new FTPClient();
ftp.connect(server);
ftp.login(username,password);
FTPFile[] files = ftp.listFiles();
for(int i=0 ;i<files.length;i++){
System.out.println(" File : "+ i + " - " + files);
InputStream ip = ftp.retrieveFileStream(path);
I got the inputstream from the ftp server. but iam not able to read the contents of the file ....
help me plzzzzzHi
I have one more problem . first i try to read the file and write the file in local directory . then i try to read the data in the remote file .. iam getting the datas as null.
InputStream ip = ftp.retrieveFileStream(path);
File f = new File("D:\\ftp.txt");
FileOutputStream fo = new FileOutputStream(f);
byte[] buf = new byte[1024];
while ((len = ip.read(buf)) > 0) {
fo.write(buf,0,len);
fo.close();
BufferedReader br = new BufferedReader(new InputStreamReader(ip));
String line;
do {
line = br.readLine();
System.out.println(" data " +line);
}while (line != null);
Maybe you are looking for
-
Problems to download photos from iPhone since ver 8.0
Since I updated the SW to ver 8.0 I have problems to get the pictures out of my iPhone towards my Windows 8.1 PC (before it worked) Before I connected it to my PC and my iPhone 5S appeared as a harddisk with a DCIM folder. Inside it, and as it looked
-
Desperate here- Please help!! Setting a max size on the Photo in a Gallery
I have a client who has 1,000s of picturea there are MANY of their pictures which are HUGE. So the thumbnail is fine I can alter those ratios, but is there a way to alter the size the picture can be when clicked on and it enters the slideshow/gallery
-
HOW TO PRINT ONE PAGE OR "TILE" OF A MULTI TILE DOC??
I'm looking to print just one page or tile of a large document. I want to print the pdf at full size, yet only print one of the tiles (preferably the one I choose!). In InDesign you can set the rulers and it will print from where that ruler is and th
-
How to send html newsletter via Mail app
I want crystal and clear instruction as all the ones I have found either old fashioned and not relevant or skip that interesting part. I have already done html page (newsletter). Now I want to transform it somehow and send via Mail app so my contacts
-
PI Monitor - ConversationId - RefToMessageId
Dear All, Via some custom changes I'm able to fill in the ConversationId and the RefToMessageId in the XI Message Header. According to the documentation we can group toghether messages via this conversation id, however this doesn't seem to have any e