Re: [SLUG] Sun Sparcstation5: useful for what ?
On Wed, 17 Sep 2003, Tony Green wrote: On Thu, 2003-09-18 at 02:34, Voytek wrote: I have here Sun Sparcstation5 box with 32MB RAM and 1GB HD, plus 4GB HD, plus tape and some other bits, and, Solaris CDs: what it is usefull for: You could use it to compile a list of all of the questions you've asked and answers you've gotten from SLUG. A bit of perl and a webserver and you'll have the most complete linux documentation repository in the history of the world. Tony, I was going to, but, I think I'd need a bigger hard drive to fit all the voytek-traffic, ;) -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] seg fault in passwd, can I 'rpm passwd' ?
On Wed, 10 Sep 2003 13:45:27 +0100 (IST), [EMAIL PROTECTED] wrote: hmm .. that lseeks call is very wrong.. try doing same with ltrace.. Dave, [EMAIL PROTECTED] root]# ltrace passwd voytek __libc_start_main(0x08049940, 2, 0xbfffed34, 0x08048d10, 0x0804a7b0 unfinished ... __register_frame_info(0x0804c1f4, 0x0804c478, 0xbfffecd8, 0x080490ce, 0x08048d10) = 0x0804c1f4 basename(passwd)= passwd poptGetContext(0x0804b0dc, 2, 0xbfffed34, 0xbfffeaa0, 0) = 0x0804c4b8 poptSetOtherOptionHelp(0x0804c4b8, 0x0804a853, 0, 0, 0) = 0x0804c688 poptGetNextOpt(0x0804c4b8, 0x0804a853, 0, 0, 0) = -1 poptGetArgs(0x0804c4b8, 0x0804a853, 0, 0, 0) = 0x0804c650 getuid() = 0 strlen(0xbc34, 0x0804c650, 0xbfffec28, 0x080497ae, 0) = 6 getpwnam(voytek)= 0x421321b0 printf(Changing password for user %s.\n, voytekChanging password for user voytek. ) = 35 pam_start(0x0804b0dc, 0xbc34, 0x0804c1dc, 0xbfffec5c, 0x4000b0a6) = 0 pam_fail_delay(0x0804cb58, 0x001e8480, 0x0804c1dc, 0xbfffec5c, 0x4000b0a6) = 0 pam_chauthtok(0x0804cb58, 0, 0x0804c1dc, 0xbfffec5c, 0x4000b0a6 unfinished ... misc_conv(1, 0xbfff8998, 0xbfff899c, 0, 0xbfffa9b0New password: ) = 0 (data fseek failed): Invalid argument --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ [EMAIL PROTECTED] root]# -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] sig sev dump #2
On Thu, 11 Sep 2003 00:19:24 +1000 (EST), [EMAIL PROTECTED] wrote: Oscar, I'll try once more hmm, sorry, I'll upload the whole dump tommorow, clearly my 'mailto' syntax know how is not up to it... even though it did say 'file included' after I put '~ d xx'. anyhow, the last few lines are: ) = 1 open(/usr/lib/cracklib_dict.pwd, O_RDONLY) = 3 open(/usr/lib/cracklib_dict.pwi, O_RDONLY) = 4 open(/usr/lib/cracklib_dict.hwm, O_RDONLY) = 5 fstat64(4, {st_mode=S_IFREG|0600, st_size=42034, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000 read(4, 1Vwp\327\221\2\0\20\0\0\0\0\0\0\0u\0\0\0\342\0\0\0N\1\0..., 4096) = 4096 fstat64(5, {st_mode=S_IFREG|0600, st_size=982, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4002 read(5, \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0..., 4096) = 982 read(5, , 4096) = 0 getuid32() = 0 open(/etc/passwd, O_RDONLY) = 6 fcntl64(6, F_GETFD) = 0 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 fstat64(6, {st_mode=S_IFREG|0644, st_size=4526, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000 read(6, root:x:0:0:root:/root:/bin/bash\n..., 4096) = 4096 close(6)= 0 munmap(0x40021000, 4096)= 0 _llseek(4, 20480, [20480], SEEK_SET)= 0 read(4, g\6\0\36h\6\0gh\6\0\255h\6\0\3i\6\0Ji\6\0\226i\6\0\362..., 4096) = 4096 fstat64(3, {st_mode=S_IFREG|0600, st_size=828083, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40021000 _llseek(3, 18446744072216379392, 0xbfff6e50, SEEK_SET) = -1 EINVAL (Invalid argument) write(2, (data fseek failed): Invalid arg..., 38(data fseek failed): Invalid argument ) = 38 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ # -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] Postfix for vhosting: 'transport' method ? full-Q address asusername ?
I'd like to setup Postifx for handling multiple mail virtual hosts, I need to be able to support multiple same.user.name @ different vhosts as different email accounts i.e. [EMAIL PROTECTED] is different email to [EMAIL PROTECTED] the end users and domains do NOT have another mail server at their site, they all POP retrieve mail from this server. all MX records point to this server no user connect directly to the server, POP only, and SMTP is handled by their ISP so far, I've installed Postifx with /Maildir support, and, now I'm looking at creating virtual host support, and, (virtual) users @virtual hosts. looking at Blum's Postfix book (SAMS 2001) it tell me: -- Ch.11 Configuring Postfix as an ISP Mail Server. Configuring Postfix for Virtual Domains ..you can use three different methods...: - receive mail for an entire V domain; - receive mail for individual users in v domain; - use transport lookup table for v domains - this basically implies I should use the 'transport table' method Q: am I heading in the right direction so far ? under a 'Caution' warning, Blum's warns of 'potential duplicate user names when using 'transport table' method': Q: should I then be creating system user names for virtual mail host in the 'fully qulified email address' format of: [EMAIL PROTECTED] [EMAIL PROTECTED] with corresponding /home/[EMAIL PROTECTED]/Maildir /home/[EMAIL PROTECTED]/Maildir ? any help, suggestions, pointers, references and sample config files appreciated Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] which kernel archive do I need, 386 or 686 ?
** Reply to note from Chris Deigan [EMAIL PROTECTED] Sun, 31 Aug 2003 07:07:53 +0800 This way, say if I accidently close the terminal, I can go back to it with screen -r. Have a look at man screen. Chris, I had a brief look, so, that will run the session detached, and, it will complete regadless if the ssh session stays connected , if I understood it correctly from a quick read. thanks for suggestion, Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] SquirelMail without IMAP ? POP ? /Maildir ?
** Reply to note from Gonzalo Servat [EMAIL PROTECTED] Thu, 28 Aug 2003 22:31:09 +1000 Why is installing an IMAP server such a problem? Gonzalo, thanks for all the anwsers well, I actually did install CourierIMAP (though haven't configured as yet) basically, I have never used or administered one before, users haven't asked for one, and, after reading some of the docs, it seemed to me I might be creating more work for myself. I guess now that I compilied and installed it, I'll at least have a good look at it, but at this point I don't see much advantage to me, to have to run it, and, suspect it might require more than POP (like the quotas etc. plus I guess i have to provide the storage space, though I suspect that wouldn't be an issue from an admin perpective, is IMAP a better choice over POP ? Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
Re: [SLUG] importing mail users ?
On Fri, 29 Aug 2003 16:22:41 +1000, [EMAIL PROTECTED] wrote: Scott, thanks What do you want them imported from? The web server? windows machine? flat file? If its a flat file, whats it look like? at this time, they're in my mail server user database, which happens to be dBase format(as in Ashton Tate) dbf file I was aiming at exporting it to text, either tab del or csv. so, I can massage them into whatever will suit the target format. the actual files has stuff like: REALNAME,USERNAME,POP3NAME,DOMAIN,EMAILDIR,PASSWORD,PASSTYPE,FORWDFLAG,FORWDADDR,CCFLAG,CCADDR,PROCFLAG,PROCNAME,VACFLAG,USERID,IPMASK,WEBPWD,WEBADMIN,MAXMSGS,MAXBYTES,FTPDOFF,MAILOFF needless to say, the more i can import the happier I'll be... If I remember correctly, you need to do one of two things: /etc/init.d/proftpd stop ; chkconfig --delete proftpd (It won't delete proftpd, just stop it from running on startup) edit /etc/xinetd.d/ftpd (or similar ) and change line DISABLE = no to yes. no, I need to have FTPd for the dozen or so web hosts, but, I thought I ought to prevent potential ftp access from mail-only users should I also CHOWN all /home/username(s) to be owned by root ? If they have no shell/ftp/anything access besides pop smtp, is there any reason to change the permissions? well, some SLUGgers suggested that, and, I thought 'why not' How have you disabled them from logging in? yes by way of explanation: I have some web vhost users, these need ftp access, then I have mail users, JUST pop, NO smtp (they use an ISP) at this time, I have created all web vhost users with user name=domain.name, and, hve set the /home/mydomain.com.au, and, Apache vhost stuff. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
[SLUG] targeted virus or paranoia central ?
during last weekend, I received several hundred of the the latest ms 'virus' emails, all about 100k, with about 7 different subjects. on Monday, the flow slowed down, just maybe a hundred or so all day, and, I assumed the worst was over, so to speak. However, between Tuesday and Wed this week, I received in excess of 1,000 emails in say 12 hours, and, when I looked at it in the afternoon, I was getting one new mssg every minute. looking at mailboxes of several hundred users, it was only my own email that was being hit so much, likewise, the admin of email on other servers where my server is hosted doesn't see *that many* virus hits across his servers. Suggestions were made to me that perhaps I was 'targeted' with it ? - how much of the crap are others getting ? the actual payload dosn't worry me, but, I don't want to pay for the traffic, so, in the end, as an interim measure, I've deleted my own email address (as to refuse this crap at smtp server) I suppose the only way to stop it, traffic-wise, would be to filter upstream ? I thought ms tax only applied when you bought a new PC, seems, ms tax is a lot broader Voytek Eymont -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug