From mikkel at t48.dk Sun Dec 4 14:36:50 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Sun, 04 Dec 2005 15:36:50 +0100 Subject: [classic-discuss] vsFTPd Message-ID: <4392FF02.2060802@t48.dk> Hi all. Has anynow got the vsFTPd working on TSC 2.0R2 I can loging as anonymous but not as localuser. I my message log i get this error: Dec 4 15:15:53 mail vsftpd(pam_unix)[10230]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=192.168.100.98 user=mikkel Can anynone help? Best regards Mikkel R. Nielsen From omar at tinysofa.org Sun Dec 4 14:46:13 2005 From: omar at tinysofa.org (Omar Kilani) Date: Mon, 05 Dec 2005 01:46:13 +1100 Subject: [classic-discuss] vsFTPd In-Reply-To: <4392FF02.2060802@t48.dk> References: <4392FF02.2060802@t48.dk> Message-ID: <43930135.5090200@tinysofa.org> Hi Mikkel, > Has anynow got the vsFTPd working on TSC 2.0R2 > > I can loging as anonymous but not as localuser. > > I my message log i get this error: > Dec 4 15:15:53 mail vsftpd(pam_unix)[10230]: authentication failure; > logname= uid=0 euid=0 tty= ruser= rhost=192.168.100.98 user=mikkel Can we please see your vsftpd.conf? Regards, Omar From mikkel at t48.dk Sun Dec 4 15:34:17 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Sun, 04 Dec 2005 16:34:17 +0100 Subject: [classic-discuss] vsFTPd In-Reply-To: <43930135.5090200@tinysofa.org> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> Message-ID: <43930C79.3090206@t48.dk> Here is my vsftpd.conf file: anonymous_enable=YES local_enable=YES write_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES dirmessage_enable=YES xferlog_enable=YES xferlog_file=/var/log/vsftpd xferlog_std_format=YES nopriv_user=nobody ftpd_banner=Welcome to blah FTP service. pam_service_name=vsftpd userlist_enable=YES listen=YES tcp_wrappers=YES secure_chroot_dir=/var/lib/vsftp/chroot force_local_data_ssl=NO force_local_logins_ssl=NO Regards Mikkel Omar Kilani wrote: > Hi Mikkel, > >> Has anynow got the vsFTPd working on TSC 2.0R2 >> >> I can loging as anonymous but not as localuser. >> >> I my message log i get this error: >> Dec 4 15:15:53 mail vsftpd(pam_unix)[10230]: authentication failure; >> logname= uid=0 euid=0 tty= ruser= rhost=192.168.100.98 user=mikkel > > > Can we please see your vsftpd.conf? > > Regards, > Omar > _______________________________________________ > classic-discuss mailing list > classic-discuss at tinysofa.org > http://lists.tinysofa.org/mailman/listinfo/classic-discuss From jh at tinysofa.org Sun Dec 4 17:36:02 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Sun, 4 Dec 2005 19:36:02 +0200 Subject: [classic-discuss] vsFTPd In-Reply-To: <43930C79.3090206@t48.dk> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> Message-ID: <20051204173601.GA2130@ws64.jh.dy.fi> On 2005-12-04, Mikkel Nielsen wrote: > Here is my vsftpd.conf file: Works here with your config. Do you have grsecurity RBAC enabled? -- Jaakko From mikkel at t48.dk Sun Dec 4 18:04:43 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Sun, 04 Dec 2005 19:04:43 +0100 Subject: [classic-discuss] vsFTPd In-Reply-To: <20051204173601.GA2130@ws64.jh.dy.fi> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> <20051204173601.GA2130@ws64.jh.dy.fi> Message-ID: <43932FBB.1090906@t48.dk> Hard to say.... i don't konw what that is :-) Jaakko Heinonen wrote: > On 2005-12-04, Mikkel Nielsen wrote: > >>Here is my vsftpd.conf file: > > > Works here with your config. Do you have grsecurity RBAC enabled? > From jh at tinysofa.org Sun Dec 4 19:54:11 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Sun, 4 Dec 2005 21:54:11 +0200 Subject: [classic-discuss] vsFTPd In-Reply-To: <43932FBB.1090906@t48.dk> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> <20051204173601.GA2130@ws64.jh.dy.fi> <43932FBB.1090906@t48.dk> Message-ID: <20051204195410.GA1116@ws64.jh.dy.fi> On 2005-12-04, Mikkel Nielsen wrote: > Hard to say.... i don't konw what that is :-) gradm -S shows it. (If you have it installed.) It's very unlikely that it's enabled if you are not aware of it. :) -- Jaakko From mikkel at t48.dk Sun Dec 4 20:03:03 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Sun, 04 Dec 2005 21:03:03 +0100 Subject: [classic-discuss] vsFTPd In-Reply-To: <20051204195410.GA1116@ws64.jh.dy.fi> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> <20051204173601.GA2130@ws64.jh.dy.fi> <43932FBB.1090906@t48.dk> <20051204195410.GA1116@ws64.jh.dy.fi> Message-ID: <43934B77.5090705@t48.dk> Thx.... Its disabled If i try to enable i get: Error opening: /etc/grsec/pw open: No such file or directory How do i do??? Jaakko Heinonen wrote: > On 2005-12-04, Mikkel Nielsen wrote: > >>Hard to say.... i don't konw what that is :-) > > > gradm -S shows it. (If you have it installed.) It's very unlikely that > it's enabled if you are not aware of it. :) > From jh at tinysofa.org Sun Dec 4 21:01:01 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Sun, 4 Dec 2005 23:01:01 +0200 Subject: [classic-discuss] vsFTPd In-Reply-To: <43934B77.5090705@t48.dk> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> <20051204173601.GA2130@ws64.jh.dy.fi> <43932FBB.1090906@t48.dk> <20051204195410.GA1116@ws64.jh.dy.fi> <43934B77.5090705@t48.dk> Message-ID: <20051204210101.GA2682@ws64.jh.dy.fi> On 2005-12-04, Mikkel Nielsen wrote: > If i try to enable i get: > Error opening: /etc/grsec/pw > open: No such file or directory > > How do i do??? See http://minbar.tinysofa.org/pub/tinysofa/releases/classic-2.0/i586/RELEASE-NOTES Grsecurity is not related to your original problem. I just asked it because grsecurity RBAC may cause unexpected problems in some cases if policies don't allow certain things. -- Jaakko From mikkel at t48.dk Sun Dec 4 22:24:29 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Sun, 04 Dec 2005 23:24:29 +0100 Subject: [classic-discuss] vsFTPd In-Reply-To: <20051204210101.GA2682@ws64.jh.dy.fi> References: <4392FF02.2060802@t48.dk> <43930135.5090200@tinysofa.org> <43930C79.3090206@t48.dk> <20051204173601.GA2130@ws64.jh.dy.fi> <43932FBB.1090906@t48.dk> <20051204195410.GA1116@ws64.jh.dy.fi> <43934B77.5090705@t48.dk> <20051204210101.GA2682@ws64.jh.dy.fi> Message-ID: <43936C9D.1000801@t48.dk> Hi again... Jaakko Heinonen wrote: > On 2005-12-04, Mikkel Nielsen wrote: > >>If i try to enable i get: >>Error opening: /etc/grsec/pw >>open: No such file or directory >> >>How do i do??? > > > See > http://minbar.tinysofa.org/pub/tinysofa/releases/classic-2.0/i586/RELEASE-NOTES I got the RBAC enabled but i still have the same problem... To me i seems like a PAM problem, but i cant get any debug information in /var/log/secuirty the only log messages i can find is in /var/log messages and thats: Dec 4 15:15:53 mail vsftpd(pam_unix)[10230]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=192.168.100.98 user=mikkel Is there a way to set PAM in debug mode? > > Grsecurity is not related to your original problem. I just asked it > because grsecurity RBAC may cause unexpected problems in some cases if > policies don't allow certain things. > From mbak at fxnet.hu Mon Dec 12 13:44:33 2005 From: mbak at fxnet.hu (Mikael Bak) Date: Mon, 12 Dec 2005 14:44:33 +0100 Subject: [classic-discuss] /etc/cron.weekly failure Message-ID: <1134395072.3397.3.camel@localhost.localdomain> Hi list, On an up to date TCS2.0 machine I got this email sent to me this morning. I've never seen such thing before. What can be wrong? Subject: fcron run-parts /etc/cron.weekly Body: /etc/cron.weekly/makewhatis.cron: /usr/bin/makewhatis: line 145: 5796 Broken pipe ${cat} ${x} 5797 Segmentation fault | iconv -f utf-8 -t utf-8 -o /dev/null 2>/dev/null /usr/bin/makewhatis: line 145: 9895 Done echo ${x} 9896 Segmentation fault | $AWK ' function readline() { if (use_zcat || use_bzcat) { result = (pipe_cmd | getline); if (result < 0) { print "Pipe error: " pipe_cmd " " ERRNO > "/dev/stderr"; } } else { result = (getline < filename); if (result < 0) { print "Read file error: " filename " " ERRNO > "/dev/stderr"; } } return result; } function closeline() { if (use_zcat || use_bzcat) { return close(pipe_cmd); } else { return close(filename); } } function do_one() { insh = 0; thisjoin = 1; done = 0; entire_line = ""; if (verbose) { print "adding " filename > "/dev/stderr" } use_zcat = match(filename,"\\.Z$") || match(filename,"\\.z$") || match(filename,"\\.gz$"); if (!use_zcat) use_bzcat = match(filename,"\\.bz2"); if (use_zcat || use_bzcat) { filename_no_gz = substr(filename, 0, RSTART - 1); } else { filename_no_gz = filename; } match(filename_no_gz, "/[^/]+$"); progname = substr(filename, RSTART + 1, RLENGTH - 1); if (match(progname, "\\." section "[A-Za-z]+")) { actual_section = substr(progname, RSTART + 1, RLENGTH - 1); } else { actual_section = section; } sub(/\..*/, "", progname); if (use_zcat || use_bzcat) { if (use_zcat) { pipe_cmd = "zcat \"" filename "\""; } else { pipe_cmd = "bzcat \"" filename "\""; } # try to avoid suspicious stuff if (filename ~ /[;&|`$(]/) { print "ignored strange file name " filename " in " curdir > "/dev/stderr"; return; } } while (!done && readline() > 0) { gsub(/.\b/, ""); if (($1 ~ /^\.[Ss][Hh]/ && ($2 ~ /[Nn][Aa][Mm][Ee]/ || # en/de $2 ~ /^JM?NO/ || # cs $2 ~ /^NAVN/ || # da $2 ~ /^NUME/ || # ro $2 ~ /^BEZEICHNUNG/ || # de $2 ~ /^NOMBRE/ || # es $2 ~ /^NIMI/ || # fi $2 ~ /^NOM/ || # fr $2 ~ /^IME/ || # sh $2 ~ /^N[?E]V/ || # hu $2 ~ /^NAMA/ || # XXX: what lang is this? $2 ~ /^??/ || # ja $2 ~ /^??/ || # ko $2 ~ /^NAZWA/ || # pl $2 ~ /^????????/ || # ru $2 ~ /^??/ || # zh_CN/ja $2 ~ /^??/ || # zh_TW $2 ~ /^NOME/ || # it/pt $2 ~ /^NAAM/)) || # nl (pages == "cat" && $1 ~ /^NAME/)) { if (!insh) { insh = 1; } else { done = 1; } } else if (insh) { if ($1 ~ /^\.[Ss][HhYS]/ || (pages == "cat" && ($1 ~ /^S[yYeE]/ || $1 ~ /^DESCRIPTION/ || $1 ~ /^COMMAND/ || $1 ~ /^OVERVIEW/ || $1 ~ /^STRUCTURES/ || $1 ~ /^INTRODUCTION/ || $0 ~ /^[^ ]/))) { # end insh for Synopsis, Syntax, but also for # DESCRIPTION (e.g., XFree86.1x), # COMMAND (e.g., xspread.1) # OVERVIEW (e.g., TclCommandWriting.3) # STRUCTURES (e.g., XEvent.3x) # INTRODUCTION (e.g., TclX.n) # and anything at all that begins in Column 1, so # is probably a section header. done = 1; } else { if ($0 ~ progname"-") { # Fix old cat pages sub(progname"-", progname" - "); } if ($0 ~ /[^ \\]-$/) { sub(/-$/, ""); # Handle Hyphenations nextjoin = 1; } else if ($0 ~ /\\c$/) { sub(/\\c$/, ""); # Handle Continuations nextjoin = 1; } else nextjoin = 0; sub(/^.[IB] /, ""); # Kill bold and italics sub(/^.BI /, ""); # sub(/^.SM /, ""); # Kill small sub(/^.Nm /, ""); # Kill bold sub(/^.Tn /, ""); # Kill normal sub(/^.Li /, ""); # Kill .Li sub(/^.Dq /, ""); # Kill .Dq sub(/^.Nd */, "- "); # Convert .Nd to dash sub(/\\\".*/, ""); # Trim pending comments sub(/ *$/, ""); # Trim pending spaces sub(/^\.$/, ""); # Kill blank comments sub(/^'"'"'.*/, ""); # Kill comment/troff lines sub(/^.in .*/, ""); # Kill various macros sub(/^.ti .*/, ""); sub(/^.ta .*/, ""); sub(/^.Vb .*/, ""); sub(/^.[PLTH]P$/, ""); # .PP/.LP/.TP/.HP sub(/^.Pp$/, ""); sub(/^.IX .*$/, ""); sub(/^.nolinks$/, ""); sub(/^.B$/, ""); sub(/^.nf$/, ""); if (($1 ~ /^\.../ || $1 == "") && (entire_line ~ / - / || entire_line ~ / \\- /)) { # Assume that this ends the description of one line # Sometimes there are several descriptions in one page, # as in outb(2). handle_entire_line(); entire_line = ""; thisjoin = 1; } else { if (thisjoin) { entire_line = entire_line $0; } else { entire_line = entire_line " " $0; } thisjoin = nextjoin; } } } } handle_entire_line(); closeline(); } function handle_entire_line() { x = entire_line; # Keep it short gsub(/\015/, "", x); # Kill DOS remains gsub(/ /, " ", x); # Translate tabs to spaces gsub(/ +/, " ", x); # Collapse spaces gsub(/ *, */, ", ", x); # Fix comma spacings sub(/^ /, "", x); # Kill initial spaces sub(/ $/, "", x); # Kill trailing spaces sub(/__+/, "_", x); # Collapse underscores gsub(/\\f\(../, "", x); # Kill font changes gsub(/\\f[PRIB0123]/, "", x); # Kill font changes gsub(/\\s[-+0-9]*/, "", x); # Kill size changes gsub(/\\&/, "", x); # Kill \& gsub(/\\\|/, "", x); # Kill \| gsub(/\\\((ru|ul)/, "_", x); # Translate gsub(/\\\((mi|hy|em)/, "-", x); # Translate gsub(/\\\*\(../, "", x); # Kill troff strings gsub(/\\/, "", x); # Kill all backslashes gsub(/"/, "", x); # Kill quotes (from .Nd "foo bar") sub(/

/, "", x);# Yuk! HTML cruft gsub(/\000.*/, "X", x); # Binary cruft in LAPACK pages gsub(/ +/, " ", x); # Collapse spaces (again) sub(/^ /, "", x); # Kill initial spaces (again) sub(/ $/, "", x); # Kill trailing spaces (again) sub(/\.$/, "", x); # Kill trailing period if (!match(x, / - /)) return; after_dash = substr(x, RSTART); head = substr(x, 1, RSTART-1) ", "; while (match(head, /, /)) { prog = substr(head, 1, RSTART-1); head = substr(head, RSTART+2); if (prog != progname) prog = prog " [" progname "]"; printf "%-*s (%s) %s\n", 20, prog, actual_section, after_dash; } } { # Main action - process each filename read in. filename = $0; do_one(); } ' pages=$pages section=$section verbose=$verbose curdir=$curdir From jh at tinysofa.org Mon Dec 12 19:50:10 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Mon, 12 Dec 2005 21:50:10 +0200 Subject: [classic-discuss] /etc/cron.weekly failure In-Reply-To: <1134395072.3397.3.camel@localhost.localdomain> References: <1134395072.3397.3.camel@localhost.localdomain> Message-ID: <20051212195010.GA2197@ws64.jh.dy.fi> On 2005-12-12, Mikael Bak wrote: > /etc/cron.weekly/makewhatis.cron: > > /usr/bin/makewhatis: line 145: 5796 Broken pipe ${cat} ${x} > 5797 Segmentation fault | iconv -f utf-8 -t utf-8 -o > /dev/null 2>/dev/null > /usr/bin/makewhatis: line 145: 9895 Done echo ${x} > 9896 Segmentation fault | $AWK ' Can you reproduce this? You can start /etc/cron.weekly/makewhatis.cron manually since the cron job runs only weekly. If you can't reproduce it it may be a random hardware problem or some hard to hit kernel bug. If I interpreted the error messages correctly it was zcat or bzcat that first segfaulted. I think that it's improbable that there's such bug in those programs. -- Jaakko From mbak at fxnet.hu Wed Dec 14 09:57:18 2005 From: mbak at fxnet.hu (Mikael Bak) Date: Wed, 14 Dec 2005 10:57:18 +0100 Subject: [classic-discuss] /etc/cron.weekly failure In-Reply-To: <20051212195010.GA2197@ws64.jh.dy.fi> References: <1134395072.3397.3.camel@localhost.localdomain> <20051212195010.GA2197@ws64.jh.dy.fi> Message-ID: <1134554238.3397.4.camel@localhost.localdomain> Hi, On Mon, 2005-12-12 at 20:50, Jaakko Heinonen wrote: > Can you reproduce this? You can start /etc/cron.weekly/makewhatis.cron > manually since the cron job runs only weekly. If you can't reproduce it > it may be a random hardware problem or some hard to hit kernel bug. > The script ran without problem when started manually from the console. I should perhaps check the memory sticks. > If I interpreted the error messages correctly it was zcat or bzcat that > first segfaulted. I think that it's improbable that there's such bug in > those programs. Yes. Random things like this is probably bad hardware. I've had reports before from the users of this machine that sometimes big print jobs don't finish... so perhaps cups or something else segfaults too without my knowlege. Thanks guys for the help! Mikael From jh at tinysofa.org Thu Dec 15 14:05:49 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Thu, 15 Dec 2005 16:05:49 +0200 Subject: [classic-discuss] End of Life tinysofa classic server 1.1 Message-ID: <20051215140549.GA1521@ws64.jh.dy.fi> In accordance with the tinysofa classic server road map (http://classic.tinysofa.org/documentation/index.cgi?RoadMap) tinysofa classic server 1.1 will not be supported after the 31st December, 2005. This means that new security or bugfix updates won't be released. It's recommended to upgrade tinysofa classic server 1.1 installations to tinysofa classic server 2.0. Upgrade instructions: http://classic.tinysofa.org/documentation/index.cgi?UpgradeFromOnePointOne -- Jaakko From mikkel at t48.dk Fri Dec 23 15:36:35 2005 From: mikkel at t48.dk (Mikkel Nielsen) Date: Fri, 23 Dec 2005 16:36:35 +0100 Subject: [classic-discuss] System Locales Message-ID: <43AC1983.7040406@t48.dk> Hi All. Where do i configure system locales on TSC? As i understand i need to do this ,to get multilang. support i my squirrelmail? -- Regards Mikkel From jh at tinysofa.org Fri Dec 23 16:40:27 2005 From: jh at tinysofa.org (Jaakko Heinonen) Date: Fri, 23 Dec 2005 18:40:27 +0200 Subject: [classic-discuss] System Locales In-Reply-To: <43AC1983.7040406@t48.dk> References: <43AC1983.7040406@t48.dk> Message-ID: <20051223164026.GB1791@ws64.jh.dy.fi> On 2005-12-23, Mikkel Nielsen wrote: > Where do i configure system locales on TSC? In /etc/sysconfig/i18n. For example I have the following configuration: $ cat /etc/sysconfig/i18n LANG="en_US.UTF-8" LC_CTYPE="fi_FI.UTF-8" LC_COLLATE="fi_FI.UTF-8" LC_MONETARY="fi_FI.UTF-8" LC_PAPER="fi_FI.UTF-8" SUPPORTED="en_US.UTF-8:en_US:en:fi_FI.UTF-8:fi_FI:fi" SYSFONT="latarcyrheb-sun16" Also you must have glibc-i18n-common and glibc-i18n- packages installed. For my configuration: glibc-i18n-common-2.3.4-2ts glibc-i18n-en_US-2.3.4-2ts glibc-i18n-fi_FI-2.3.4-2ts -- Jaakko