Re: non-interactive password

2004-04-24 Thread Mikko Työläjärvi
On Sat, 24 Apr 2004, Louis LeBlanc wrote: Hey everyone. I'm trying to recreate a password script that sets passwords (as root on the local system only). The trick is that it must change the password non-interactively. I had this working, but when the system was trashed, the script was

Re: allowing users to mount cdrom

2004-07-03 Thread Mikko Työläjärvi
On Sat, 3 Jul 2004, jobse wrote: Dear List, When trying to mount the cdrom I get Operation not permitted. sysctl: vfs.usermount=0(what does that mean and how can I *permanently* change it to 1) I'd rather not set the sticky bit on mount/umount if I mustn't. suggestions? /jobse vfs.usermount allows

Re: how to get system information

2003-09-28 Thread Mikko Työläjärvi
On Sun, 28 Sep 2003, Per olof Ljungmark wrote: I am wondering how to find out system hardware information from a running system, I know for instance pciconf(8) but what are the corresponding ones for memory, cpu etc? more /var/run/dmesg.boot to get the info at boot time. vmstat 5

Re: explain annoying You have XXX mail messages

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Fernan Aguero wrote: +[ Mailing Lists Catcher [EMAIL PROTECTED] (03.Oct.2003 19:53): | | I don't know if this applies now but before I ran my own mail server I | used to see that sort of thing after I su'd so another account. For | instance if I logged in as user but

Re: PASSWD file hosed...

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Eric F Crist wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm sure you're all getting sick of my being so vocal, but here goes anyway. I was messing around as root in KDE and found the KUser application. I tried adding a user (my girlfriend), and when

Re: Anyone using Linux-PAM on 5.x?

2003-10-04 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Joe Lewis wrote: Question for you guru's; I've been trying to install a PAM module on my FreeBSD 5.1 system. Unfortunately, someone thought they were bright and included OpenPAM, which would be fine and dandy except for it is installed by default as static. This means I

Re: Anyone using Linux-PAM on 5.x?

2003-10-05 Thread Mikko Työläjärvi
On Sat, 4 Oct 2003, Bill Campbell wrote: On Sat, Oct 04, 2003, Mikko Työläjärvi wrote: ... Having had some experience writing pam modules on a number of platforms, I whipped out my suite of pam test modules to have a look at this incredbible breakage you speak of. I mean

Re: Anyone using Linux-PAM on 5.x?

2003-10-05 Thread Mikko Työläjärvi
On Sun, 5 Oct 2003, Joe Lewis wrote: I know of the specification. However, I have a customized version of the pam-mysql module that I have tried to install. In a previous post to this list about a week or two ago, I wrote about getting only the following entrys in the log file (an example

Re: Something with port 53

2003-11-09 Thread Mikko Työläjärvi
On Sun, 9 Nov 2003, [ISO-8859-2] Gannater János wrote: Hello, I've posted this question to the freebsd-newbies list, but there nobody could answer it. Please help me with this qestion... I have a box with 2 IP addresses (with aliases). I usually get these error messages: Connection

Re: Perfoce client only

2004-02-17 Thread Mikko Työläjärvi
On Tue, 17 Feb 2004, Igor B. Bykhalo wrote: Is there a way to install the Perforce client only? We don't need the server, but i failed to find standalone client. And yes, command-line version is sufficient. There is no port but you can just download the command line tool from

Re: linux compatability

2002-12-28 Thread Mikko Työläjärvi
On Sat, 28 Dec 2002, Adam K Kirchhoff wrote: Hey folks, I'm noticing some odd behaviour with the linux compatability recently. I have this small gnome app called gnome-run. It links against a number of gnome libraries that I've copied from my linux partition over to /compat/linux

Re: LINUX sysinfo syscall

2003-01-12 Thread Mikko Työläjärvi
On Sun, 12 Jan 2003, William Gianopoulos wrote: This has probably been asked before, but I could not find any info searching the archives. I am trying to run the Linux version Tapeware from Yosemite under FreeBSD 4.1. It fails because the Linux syscall sysinfo is not implemented. My

Re: Hi FreeBSD forum's Champs

2003-07-13 Thread Mikko Työläjärvi
On Sun, 13 Jul 2003 [EMAIL PROTECTED] wrote: Hi Forum I had a task to capture Windows dump (screen shot) in different formats. xwd -window image.xwd I also want to convert this default format (xwd) to X window bitmap, X window Pixmap. Any suggestion / utility to achieve this If you

Re: how to copy just part of a file?

2003-07-16 Thread Mikko Työläjärvi
On Wed, 16 Jul 2003, BSD baby wrote: Is there an easy built-in way to copy only part of a file? I want to take a WAV audio file and copy from #__ bytes to #___ bytes into a new file. (I'm making 30-second clips of files.) Try dd. Thus: dd bs=1 skip=$offset count=$length infile

Re: looking for http/web copy program - I think

2003-07-18 Thread Mikko Työläjärvi
On Sat, 19 Jul 2003, Robert Chalmers wrote: Is there a FreeBSD based app that I can use to bulk copy about 800 .rm files from one site to another? I really don't want to have to do it one at a time. ftp isn't available. The only access I have is via the web port. bummmer but theres no choice

Re: rpc.statd and NFS Server on 4.8-RELEASE

2003-07-19 Thread Mikko Työläjärvi
On Sat, 19 Jul 2003, Ernest H. Rice, III wrote: Folks: Excuse the interruption, but I have a probably very stupid question... I enabled NFS Server facilities on my 4.8.2 FreeBSD system recently. I export ONE directory, and when nfs is started (via the normal booting process) my internet

Re: Dumping/reading memory space of a running program.

2003-08-25 Thread Mikko Työläjärvi
On Mon, 25 Aug 2003, Sten Daniel Sørsdal wrote: How do i read/dump the entire memory space of a running program? Is this possible? I really dont have the option of restarting it. gcore(1) perhaps? $.02, /Mikko ___ [EMAIL PROTECTED]

Re: Off Topic Regex Question

2003-08-29 Thread Mikko Työläjärvi
On Thu, 28 Aug 2003, Roger Williams wrote: I know thins is not the place but I know one of you know this one off the top of your head. I have: $list = dog 1 1 1 cat 2 1 snake 111 and I want to end up with: dog 1 cat 2 snake 1 I thought $list =~ s/ \d \d/ \d/g; would do the trick, but

Re: zmore for bzip2?

2003-08-31 Thread Mikko Työläjärvi
On Sun, 31 Aug 2003 [EMAIL PROTECTED] wrote: Adapting zmore for the case where you specify the files to display on the command line is not problem at all: diff kk zmore 5,14d4 get_decompressor () { case `file ${1--} | sed s/[^:]*: *\([^ ]*\).*/\1/` in

Re: Problems running new diablo-{jre,jdk} JVMs

2003-09-06 Thread Mikko Työläjärvi
On Tue, 2 Sep 2003, Kirk Strauser wrote: I've installed the new diablo-jdk and diablo-jre ports on my recently-upgraded-from-4.x FreeBSD 5.1 server. Whenever I try to run any of the JVMs, either by calling them directly or via the javavm script, I get this error: [EMAIL

Re: Problems with my terminal device files

2003-06-02 Thread Mikko Työläjärvi
On Sun, 1 Jun 2003, Daniela wrote: [...] I can't allocate new pty's, no matter what I do. [...] Xterm says that I don't have enough ptys. How do I make more? Umm... this is on 4.x, right? Have you tried making more pty device nodes? Thus: # cd /dev # sh MAKEDEV pty1 # 32

Re: xterm questions

2003-06-14 Thread Mikko Työläjärvi
On Sun, 15 Jun 2003, Alex de Kruijff wrote: I have a configuration question about how to change the default selecting proces. I would like it when i select a URL (with a double click), that it select the whole URL instead of just one word (sperating at [:/@]). It this posible? Try running:

Re: Problem with USB ulpt0 and CUPS

2003-06-20 Thread Mikko Työläjärvi
On Wed, 18 Jun 2003, Thomas T. Veldhouse wrote: I posted this in April and received no response. However, this has been an ongoing issue since at least 2001 (where I found the first reference to this trouble via Google). The problem seems to be that the FreeBSD USB LPT driver (even with

Re: flashpluginwrapper for Flash 6 (Shared Library Tools redux)

2003-06-21 Thread Mikko Työläjärvi
On Thu, 19 Jun 2003, Joe Kelsey wrote: Ok. I hand-modified the linux-flashplugin6 shared library to remove all of the DT_NEEDED entries. I then modified flashpluginwrapper to add the following functions: [ ... snip wrapper functions ... ] I installed this new version of

Re: accidently deleted user www

2003-06-22 Thread Mikko Työläjärvi
On Mon, 23 Jun 2003, Andre wrote: Hi i accidently deleted the user www and now my apache doesnt start. is there a fast way to solve this problem? Don't do that. :-) If your machine has been running for a while there should be backups in /var/backup, so you can do: # grep '^www:'

Re: using bind() call on FreeBSD

2003-06-23 Thread Mikko Työläjärvi
On Mon, 23 Jun 2003, Gagan Grewal wrote: Hi Folks :) I am trying to write a simple a server process which follows this sequence... socket() Assuming a struct sockaddr_in addr; around here somewhere, do: memset(addr, 0, sizeof(addr)); addr.sin_port = htons(blah); etc ... I.e.

Re: IglooFTP in free(): error: chunk is already free

2003-07-05 Thread Mikko Työläjärvi
On Sat, 6 Jul 2003, Edy Lie wrote: anyone install iglooftp from ports and run it on KDE3.1 ? For some reasons when i tried to launch it from command line, i am getting that error message. Any idea ? It means there's a bug in IglooFTP. Put the following patch in

Re: IglooFTP in free(): error: chunk is already free

2003-07-05 Thread Mikko Työläjärvi
? Thank you. Sure. I don't use IglooFTP, but once you manage to figure out if the one-line patch solves your problem, feel free to file a PR and watch it rot. $.02, /Mikko On Sun, 2003-07-06 at 05:33, Mikko Työläjärvi wrote: On Sat, 6 Jul 2003, Edy Lie wrote: anyone install

Re: extracting cd-audio to wav

2003-07-11 Thread Mikko Työläjärvi
On Fri, 11 Jul 2003, Benjamin Walkenhorst wrote: Hello everybody, Is there some kind of program to digitally read audio-cds to wav-files under FreeBSD? Yes. Under GNU/Linux I use cdparanoia, which I have I've come to like very much, but cdparanoia III release 9.8 (March 23, 2001) refused

Re: mod_ssl question: using my own CA?

2003-07-12 Thread Mikko Työläjärvi
On Sat, 12 Jul 2003, admin wrote: OS: FreeBSD 4.8 apache 1.3.27 modssl 2.8.14 goals: generate a server.crt file for apache generate a server.key file for apache I will be my own CA Hi, okay I am trying to find a way to overcome this most elusive and vague documentationt that I am

Re: What kind of PPP connection do you have?

2002-09-18 Thread Mikko Työläjärvi
On Sat, 14 Sep 2002, Greg 'groggy' Lehey wrote: I'm currently revising my book The Complete FreeBSD. The new edition should be out in the bookstores in a couple of months. Right now I'm revising the chapter on PPP setup, which was written in 1997. Since then, the ISP landscape has changed

Re: Bourne shell redirection of STDOUT

2002-09-28 Thread Mikko Työläjärvi
On Sat, 28 Sep 2002, Jimmy Lantz wrote: Hi, I wonder if anyone know a way to redirect the STDOUT directly to a variabel in a shellscript w/o using tempfile. Use backticks ``. I know I can use a tempfile but I'm looking for a way to avoid using a file. in other words Does anyone have

Re: man tcsh | col -b | grep -i stderr

2002-09-29 Thread Mikko Työläjärvi
On Sun, 29 Sep 2002, Peter Leftwich wrote: I would like to learn more about redirection and stderr but the manpage for tcsh does not have any information apparently about 2 or whatever: Search for redirect... # man tcsh | col -b | grep -i stderr # [no output] Can someone direct me to the

Re: /var/spool/uucppublic

2002-10-01 Thread Mikko Työläjärvi
On Tue, 1 Oct 2002, Socketd wrote: Hi all The above dir is world writeable, so I just want to know if it is installed as part of the base system and that program/process uses that dir? Can I mount it as no-exec and no-suid? It is part of the system and used by UUCP. As you do not seem to

Re: /dev/urandom is randomly cool

2002-10-06 Thread Mikko Työläjärvi
On Sat, 5 Oct 2002, Peter Leftwich wrote: I was sorting through my /usr/X11R6/bin/startx text-file and noticed: mcookie=`dd if=/dev/urandom bs=16 count=1 2/dev/null | hexdump -e \\%08x\\` I started playing around with `cat /dev/urandom` and `head -1 /dev/urandom` so my question is... How

Re: /dev/urandom is randomly cool

2002-10-06 Thread Mikko Työläjärvi
On Sun, 6 Oct 2002, Fernando Gleiser wrote: On Sun, 6 Oct 2002, Mikko Työläjärvi wrote: tr -cd a-zA-Z0-9 /dev/urandom | dd bs=$len count=1 2/dev/null Which will give you $len random bytes from the set a-zA-Z0-9 (it reads a lot more from /dev/urandom than it produces though). yes

Re: ftpd.conf

2002-10-26 Thread Mikko Työläjärvi
On Sat, 26 Oct 2002, Ms Carlsson wrote: i do not have one, why waste your time to answer me if you dont even can help me, this is not just a waste of your time it is waste of mine too. so is here anybody serious here, i need a working example of ftpd.conf to the ftp daemon /usr/libexec/ftpd

Re: mergemaster question

2002-10-26 Thread Mikko Työläjärvi
On Sat, 26 Oct 2002, David Banning wrote: I am just in the process of upgrading from 4.5S to 4.7 and I will be running mergemaster. One thing I notice using mergemaster is that it seems to take such a long time. Is there a quicker way? It wants to replace alot of files, and that's OK for me

Re: NFS - what troubles to expect ?

2002-12-07 Thread Mikko Työläjärvi
On Fri, 6 Dec 2002, Josh Brooks wrote: Helol, I have used NFS on sun/solaris systems for many years, and the one big headache that comes to mind is how, if the server is down, and the client has an automount on boot, the client will hang forever (basically forever) trying to mount from the

Re: #!/bin/sh execve

2003-02-08 Thread Mikko Työläjärvi
On Sat, 8 Feb 2003 [EMAIL PROTECTED] wrote: say i have 2 scripts, scriptA and scriptB. scriptA --- #!/bin/sh ./scriptB 1 2 3 scriptB --- #!/bin/sh echo 0:$0 echo 1:$1 echo 2:$2 echo 3:$3 -- $ ./scriptA $0:./scriptB $1:1 $2:2 $3:3 -- according to execve(2), only

Re: catch output from sh -xv to a file

2003-02-16 Thread Mikko Työläjärvi
On Sun, 16 Feb 2003, Per olof Ljungmark wrote: Need advice on how to modify first line of shell script so that script can run normally (as called from another program, not from the command line) and write debugging output to a file like: Short answer: you can't. Not if you absolutely want to

Re: Xfree86-4 question re OpenGL

2003-02-23 Thread Mikko Työläjärvi
On Mon, 24 Feb 2003, Murray Taylor wrote: I installed XFree86 4.2.0 from a current ports tree WITHOUT having ever had XFree86-3 loaded. [...] When I run it from command line i get this ttyp0 kpovmodeler Xlib: extension GLX missing on display :0.0. Xlib: extension GLX missing on display

Re: SBC DSL vs Fbsd 4.7 PPPoE?

2003-03-03 Thread Mikko Työläjärvi
On Mon, 3 Mar 2003 [EMAIL PROTECTED] wrote: How-do. Has anyone gotten SBC's DSL service working on FreeBSD? Yes. Well, it was called PacBell DSL at the time, but it is still working. I pretty much just used the pppoe entry from /usr/share/examples/ppp/ppp.conf.sample. Something like this:

Re: DHCP Server learning name servers since server itself is dhcp'd??

2003-03-08 Thread Mikko Työläjärvi
On Sat, 8 Mar 2003, IAccounts wrote: Alternatively is there a way to dynamically tell BIND to get it's forwarders list from /etc/resolv.conf? Here is a shell script snippet that I use on my laptop. It gets called from make_resolv_conf() in /etc/dhclient-enter-hooks, where I make sure not

Re: /usr/src on a dedicated drive?

2003-03-16 Thread Mikko Työläjärvi
On Sun, 16 Mar 2003, Brian McCann wrote: Hey all. I've got a problem on one of my systems (lack of drive space) that forced me to remove /usr/src. However, I like that system to track the STABLE version. I don't think it'd be a problem, but I'd like someone else to confirm this.

Re: Bus errors

2005-02-06 Thread Mikko Työläjärvi
On Sun, 6 Feb 2005, Tom Parquette wrote: Hi. I'm running 5.3-R with a custom kernel on a dual processor athlon. I've recently started getting Bus error showing up as a reason for various failures. e.g. setiathome, make buildworld. I've also gotten some panics (there are only about 5 messages

Re: Synaptics Touchpad driver

2005-03-13 Thread Mikko Työläjärvi
Hi, On Sat, 12 Mar 2005, Loren M. Lang wrote: It seems that FreeBSD 5.3 now has support in the kernel for the synaptics touchpad that my laptop has. Right now it's just running as a normal mouse, it looks like the support is disabled by default. In isa/psm.c, I can see the synaptics support in

Re: Xwrapper doesn't use .xinitrc, or does it?

2005-03-20 Thread Mikko Työläjärvi
On Mon, 21 Mar 2005, Andreas Davour wrote: I have just rebuilt my system and a few things aren't as they used to be. When I try to start X with Xwrapper no xterms or other windows appear. Isn't Xwrapper starting the stuff in .xinitrc like startx used to do for me (but wont do, since it no

Re: FreeBSD 5.3 and too many files open...

2005-03-23 Thread Mikko Työläjärvi
Hi, On Wed, 23 Mar 2005 [EMAIL PROTECTED] wrote: Hi, i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM, 4GB Swap, Dual XEON 3.06Ghz). The box serves the xfrce4-panel for 80 Network Clients via ssh so the Users can start OpenOffice.org and firefox from that panel. It is

Re: [UPDATED]sick and tired of freebsd resolving problems

2004-08-28 Thread Mikko Työläjärvi
On Sun, 29 Aug 2004, horio shoichi wrote: On Thu, 26 Aug 2004 21:34:55 -0500 (CDT) Jorge Mario G. [EMAIL PROTECTED] wrote: -Original Message- From: Jorge Mario G. (snip) the problem is this: I CAN NOT RESOLV It's amazing this thread lives so long. So far, no new things are found, except

Re: Where to find jw on FreeBSD?

2004-09-06 Thread Mikko Työläjärvi
On Sun, 5 Sep 2004, Matt Emmerton wrote: I've working on an open source project that recent went through a documentation frenzy and now we have a bunch of SGML (XML) docs that we reguarly convert to HTML and PDF. The person that usually does this runs RedHat and uses a project called 'jw'

Re: Linker Error: undefined reference to __ctype_b

2006-04-10 Thread Mikko Työläjärvi
On Mon, 10 Apr 2006, Premal Mishra wrote: Hi, Am tryin to compile a C program which uses 3rd party library. I get the following error during linking: undefined reference to __ctype_b and this error comes up for many more names. Whats may be the problem ? Without additional information,

Re: Ultra 2 SMP stop in probing devices during install

2003-11-27 Thread Mikko Työläjärvi
On Thu, 27 Nov 2003, Jens Baedeker wrote: Hi there, i'm pretty new with freebsd. Currently i run a couple of sparc20 with OpenBSD. But i want to give Freebsd 5.1 a try. Unfortunately i cant get this Ultra2 with 2 CPUs working. When boot with first install CDROM it recognises the 2 cpus

Re: spamassassin

2003-12-20 Thread Mikko Työläjärvi
On Sat, 20 Dec 2003, Doug Reynolds wrote: I've been trying to setup spamassassin on my freebsd box with postfix. I was reading the other thread about spamassassin. What i couldn't figure out, was how it got the mail from the mail system. I looked at spamd but it didn't look like the

Re: Out of memory error

2003-12-27 Thread Mikko Työläjärvi
On Fri, 26 Dec 2003, Elliot Finley wrote: 4.8-R I have a process that needs to keep about 700MB of data in RAM. It crashes when it gets to about 512MB. I've looked for a sysctl variable to tune, but none of them jumped out at me. Same with man tuning' Any pointers would be appreciated.

Re: mplayer problem

2003-12-28 Thread Mikko Työläjärvi
On Sun, 28 Dec 2003, Monah Baki wrote: Hi all, [ Lines wrapped at 72 chars ] I'm running the Freebsd 4.9 with mplayer 0.91 and mplayerplug-in for the ports tree and mozilla 1.4. I tried to view the spiderman trailer from apple's website, medium screem no problem, but when I try to choose

Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Mikko Työläjärvi
On Sun, 26 Jun 2005, Louis LeBlanc wrote: On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed: On Sun, 26 Jun 2005 15:17:06 -0400 Louis LeBlanc [EMAIL PROTECTED] wrote: I'm having a little trouble with my perl upgrade from 5.8.6 to 5.8.7. -- cut -- ok 5 ok 6 semget: No

Re: Perl 5.8.6 to 5.8.7 upgrade fails IPC tests

2005-06-26 Thread Mikko Työläjärvi
On Sun, 26 Jun 2005, Louis LeBlanc wrote: On 06/26/05 02:32 PM, Mikko Tyljrvi sat at the `puter and typed: On Sun, 26 Jun 2005, Louis LeBlanc wrote: On 06/26/05 10:39 PM, [EMAIL PROTECTED] sat at the `puter and typed: On Sun, 26 Jun 2005 15:17:06 -0400 Louis LeBlanc [EMAIL PROTECTED] wrote:

Re: Encryption of login passwords--where and how is it done?

2005-04-16 Thread Mikko Työläjärvi
On Sat, 16 Apr 2005, Anthony Atkielski wrote: Where's the actual code that accepts the input of a password and/or encrypts it? I looked in login.c, but that only seems to call PAM or something; from that point on, I wasn't sure where to look. Start with crypt(3). I'm especially interested in

Re: simple? sh problen

2005-05-15 Thread Mikko Työläjärvi
On Mon, 16 May 2005, Ian Smith wrote: Hopefully not too OT .. the only silly question being the unasked one .. How do I test whether a sh argument is an integer or not, so as to avoid failing on a syntax error from otherwise working code such as: [ $3 -lt 10 -o $3 -gt 600 ] echo $0 $1 $2: $3

Re: forcing boot

2006-06-04 Thread Mikko Työläjärvi
On Jun 4, 2006, at 2:40 PM, Lawrence Horvath wrote: How can i force normal boot up even if the filesystem was uncleanly dismounted, i have a box that it looks like the HD is failing, but i still need some of the info off it, so i would like to get it to boot normally anyway so i can sftp/scp