|
Prev: haparm ?
Next: pkgchk -l -p /dir/to/some/file
From: Mike on 18 Jun 2008 07:24 On Jun 16, 9:08 pm, nobody <hoang.manh...(a)gmail.com> wrote: > On Jun 16, 9:47 am, Mike <msargen...(a)gmail.com> wrote: > > > > > > > Our security people want to place a long, formated, multiline banner > > on the screen for people who connect to our server with ftp. > > > I tried modifying the /etc/default/ftpd file, however, only the first > > line displays. If I vi a new file and it has multiple lines ftp only > > returns the first line as the ftp banner message. I tried embedding > > \n's in the banner file but then get nothing displayed for the ftp > > connections. > > > I read the man pages and other online postings, but everything I've > > read says enter a "one-line" banner. And this is the behavior we've > > seen. > > > Is there any easy way to get a multi-line welcome banner with an ftp > > connection? > > > Thanks, > > Mike > > 1. Create your multi line banner file > 2. In /etc/ftpd/ftpaccess there is a line for banner, put your file > name there. > 3. Make sure that ftpd in /etc/inetd.conf run with option -a > 4. Kill -HUP `pgrep inetd`- Hide quoted text - > > - Show quoted text - Thanks This - ftpaccess - works great with our Solaris 10 servers. However our Solaris 8 systems still have the one-line problem. And unfortunately we can't easily change our ftpd software - configuration controls... So I guess for now we may be stuck with the Solaris 8 ftpd limitations.
|
Pages: 1 Prev: haparm ? Next: pkgchk -l -p /dir/to/some/file |