Re: Established method to enable suid scripts?

2011-05-14 Thread perryh
Chris Telting christopher...@telting.org wrote: let me ask you.. is sudo ping acceptable? Please explain the logical reason why not. It would be the preferred method if suid didn't exist and sudo was part of the base system. Without suid there would be no sudo ;) Part of the reason for ping

boot question

2011-05-14 Thread Robert Simmons
Perhaps my earlier question was too complex and specific. I will rephrase it a bit: How do I boot from a kernel that is in a non-standard location on a disk that is partitioned with the GPT scheme? How do I tell that kernel the location of /etc/fstab?

Re: Maximum partition size

2011-05-14 Thread ill...@gmail.com
On 11 May 2011 03:37, Andrea Venturoli m...@netfence.it wrote: Hello. Sorry for the stupid questions, but Google only turns out very old answers which might be outdated (at least I hope so). What is the maximum partition size I can use on 7.3? I've used a 3TB gstripe on amd64, but now I'd

pptpd problem

2011-05-14 Thread Mario Lobo
Hi; I have a VPN server on FBSD 8.1. The vpn closes fine. But as soon as I start doing something with an inside LAN machine i.e. an RDP session, I get this: May 14 12:46:06 suporte pptpd[1958]: GRE: xmit failed from decaps_hdlc: No buffer space available and the VPN tunnel drops. I googled a

Re: boot question

2011-05-14 Thread Robert Simmons
On Saturday, May 14, 2011 10:38:37 AM you wrote: Date: Sat, 14 May 2011 09:44:42 -0400 From: Robert Simmons rsimmo...@gmail.com To: freebsd-questions@freebsd.org Subject: boot question How do I boot from a kernel that is in a non-standard location on a disk that is partitioned with

Re: Established method to enable suid scripts?

2011-05-14 Thread Randal L. Schwartz
Pan == Pan Tsu iny...@gmail.com writes: Pan ...a shebang can be written with sudo in mind, e.g. Pan #! /usr/bin/env -S sudo sh Pan id (Untested) why not just #!/usr/local/bin/sudo ? It'll be given the filename as an argument. Aside: In general, almost every use of #!/usr/bin/env XXX as a

Re: Established method to enable suid scripts?

2011-05-14 Thread Alejandro Imass
On Sat, May 14, 2011 at 3:09 PM, Randal L. Schwartz mer...@stonehenge.com wrote: Pan == Pan Tsu iny...@gmail.com writes: [...] (Untested) why not just #!/usr/local/bin/sudo ?  It'll be given the filename as an argument. Precisely. I think this thread should be forked to something like suid

find and remove ?

2011-05-14 Thread Jack L. Stone
Folks: Am running FBSD-7.x I'm finally getting around to removing any remnants of frontpage. There are 1000s of _vti_* directories across several domains and need to clean those out. What's the best way to run a short script or command set to find and delete those? Appreciate any suggestions.

Re: find and remove ?

2011-05-14 Thread Eitan Adler
I'm finally getting around to removing any remnants of frontpage. There are 1000s of _vti_* directories across several domains and need to clean those out. What's the best way to run a short script or command set to find and delete those? man 1 find find /path/to/start/deleting -type d -name

Re: Piping find into tar...

2011-05-14 Thread Eitan Adler
generate list | while read X; do process $X; done often gets around many of the problems. But causes way more. I suggest you read http://www.dwheeler.com/essays/filenames-in-shell.html and http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html -- Walter M. Pawley w...@wump.org

Unable to boot installer

2011-05-14 Thread Cybil Courraud
Hi Daniel, it seems that there is a problem with UEFI/atkbd, since 7.2 and 8.0 work without any boot problem (BTW that's not a solution because there is no NIC support) and 8.1 and 8.2 hang. I met the same problem with my x220 which is not resolved but you can follow this workaround: 1 -

No keyboard after ports update, 2x moused_enable=YES culprit

2011-05-14 Thread Rob Clark
System Info: 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Tue Aug 10 11:43:36 EDT 2010,  and xorg-server-1.7.7_1,1 X.Org X server and related programs Not having updated my ports in nearly 1 year, I did a sledgehammer approach with portmaster as follows: portmaster -D -R -f -m BATCH=yes -a This took a