Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root"
yes, I login with "toor" as root successfully. 2010/2/14 Chris Rees : > On 13 February 2010 18:10, Matthew Seaman wrote: >> On 13/02/2010 17:49, Bob Johnson wrote: >> >>> It is possible (I don't remember) that the "toor" account does not >>> have a shell in the default passwd file. If that's the problem, use >>> vipw to add the path to a shell as the last field on the line. The >>> "root" account should provide a good example, or look at the line for >>> your own user account. "/bin/csh" should work for recent versions of >>> FreeBSD. >> >> An empty field for the user shell in /etc/{master.,}passwd means the >> account gets the default shell, which in the case of FreeBSD is /bin/sh. >> Shouldn't cause the observed problem. >> >> Cheers, >> >> Matthew >> > > I would imagine then that /etc/ttys is set to 'insecure' for all. > > Can you log in as root Jason? > > Chris > -- Lin Taosheng Mobile: 86-010-15801256127 MSN: taosheng@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: custom kernel
On 2/13/2010 5:31 AM, Erik Norgaard wrote: On 13/02/10 04:08, Derek Funk wrote: I am trying to find how to install a custom kernel at installation. I have found an option in sysinstall to select a kernel. How do I add my own to the options so I can select it? I think the standard procedure is to install the generic kernel at installation then install your custom kernel afterwards. You should always keep the generic kernel to fall back on in case of any problems. BR, Erik My kernel is basiclly is the generic kernel just with some added options and removed devices i don't have. I have built and installed many times after installation. I play around with this machine a lot and just want to be able to have my kernel installed at installation. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTOS: Timer fired even though it was canceled
On 2/13/10, Eitan Adler wrote: > On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol wrote: >> On 2/13/10, Eitan Adler wrote: >>> On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol wrote: On 2/11/10, Eitan Adler wrote: >> What miniport driver, what arch, how to reproduce it? > a) no idea > b) Sorry for leaving that out: 8.0-RELEASE-p2 i386 > c) Boot the computer and watch tty0 Does it happens also if you load module (bcmwl5_sys.ko) after boot via kldload instead via /boot/loader.conf >>> Is this what you mean? >>> >>> Id Refs AddressSize Name >>> 81 0xc101c000 1ddb8if_bwi.ko >>> 91 0xc103a000 180ae4 if_bwi_ndis.ko >> >> if_bwi is unrelated to NDIS. >> >> I'm asking about module you created with ndisgen. >> >>> >>> If you meant loading these via kldload instead of at boot time then >>> No, >>> But when I put it back in I also no longer see the warning. >>> >> > > I didn't recognize what you meant with "bcmwl5_sys.ko". > Either way the answer applies: I no longer see the warning regardless > of whether it is in /boot/loader.conf or not. Perhaps it was an > intermittent problem? If so what could it mean? Are you using bwi(4) and ndis(4) at same time for same device? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Question about Freebsd 7.2 and Zend framework
Hello I have zend framework websites and I was wondering if they work well with Freebsd7.2? Because I hear bad thing about that. Can you tell me about that please? Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: managing ZFS automatic mounts - FreeBSD deviates from Solaris?
On Sun, Feb 14, 2010 at 2:24 AM, Dan Naumov wrote: > Hello > > From the SUN ZFS Administration Guide: > http://docs.sun.com/app/docs/doc/819-5461/gaztn?a=view > > "If ZFS is currently managing the file system but it is currently > unmounted, and the mountpoint property is changed, the file system > remains unmounted." > > This does not seem to be the case in FreeBSD (8.0-RELEASE): > > = > zfs get mounted tank/home > NAME PROPERTY VALUE SOURCE > tank/home mounted no - > > zfs set mountpoint=/mnt/home tank/home > > zfs get mounted tank/home > NAME PROPERTY VALUE SOURCE > tank/home mounted no - > = > > This might not look like a serious issue at first, until you try doing > an installation of FreeBSD from FIXIT, trying to setup multiple > filesystems and their mountpoints at the very end of the installation > process. For example if you set the mountpoint of your > poolname/rootfs/usr to /usr as one of the finishing touches to the > system installation, it will immideately mount the filesystem, > instantly breaking your FIXIT environment and you cannot proceed any > further. Is this a known issue and/or should I submit a PR? Oops, I managed to screw up my previous email. My point was to show that "mounted" changes to YES after changing the mountpoint property :) - Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
managing ZFS automatic mounts - FreeBSD deviates from Solaris?
Hello >From the SUN ZFS Administration Guide: http://docs.sun.com/app/docs/doc/819-5461/gaztn?a=view "If ZFS is currently managing the file system but it is currently unmounted, and the mountpoint property is changed, the file system remains unmounted." This does not seem to be the case in FreeBSD (8.0-RELEASE): = zfs get mounted tank/home NAMEPROPERTYVALUE SOURCE tank/home mounted no - zfs set mountpoint=/mnt/home tank/home zfs get mounted tank/home NAMEPROPERTYVALUE SOURCE tank/home mounted no - = This might not look like a serious issue at first, until you try doing an installation of FreeBSD from FIXIT, trying to setup multiple filesystems and their mountpoints at the very end of the installation process. For example if you set the mountpoint of your poolname/rootfs/usr to /usr as one of the finishing touches to the system installation, it will immideately mount the filesystem, instantly breaking your FIXIT environment and you cannot proceed any further. Is this a known issue and/or should I submit a PR? - Sincerely, Dan Naumov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTOS: Timer fired even though it was canceled
On Sun, Feb 14, 2010 at 12:31 AM, Paul B Mahol wrote: > On 2/13/10, Eitan Adler wrote: >> On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol wrote: >>> On 2/11/10, Eitan Adler wrote: > What miniport driver, what arch, how to reproduce it? a) no idea b) Sorry for leaving that out: 8.0-RELEASE-p2 i386 c) Boot the computer and watch tty0 >>> >>> Does it happens also if you load module (bcmwl5_sys.ko) after boot via >>> kldload instead via /boot/loader.conf >>> >> Is this what you mean? >> >> Id Refs Address Size Name >> 8 1 0xc101c000 1ddb8 if_bwi.ko >> 9 1 0xc103a000 180ae4 if_bwi_ndis.ko > > if_bwi is unrelated to NDIS. > > I'm asking about module you created with ndisgen. > >> >> If you meant loading these via kldload instead of at boot time then >> No, >> But when I put it back in I also no longer see the warning. >> > I didn't recognize what you meant with "bcmwl5_sys.ko". Either way the answer applies: I no longer see the warning regardless of whether it is in /boot/loader.conf or not. Perhaps it was an intermittent problem? If so what could it mean? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: setting default directory ACLs using xargs
>> On Fri, 12 Feb 2010 21:08:43 -0800, >> Doug Sampson said: D> This is what led me to the workaround of: D> $ getfacl /aclTest/ | setfacl -d -b -n -M - /aclTest/ D> which actually works for me. I do dread the idea of having to manually D> apply this to all existing directories in the /data filesystem. If all else fails, abuse nawk: #!/bin/sh cd /data find . -type d -print | nawk '{printf "getfacl %s | setfacl -d -b -n -M - %s\n",$1,$1}' | sh -x exit 0 If you have spaces in your filenames, you'll either have to use perl or do something dopey like this: #!/bin/sh cd /data find . -type d -print | nawk -v sq=\' '{ printf "getfacl %s%s%s | setfacl -d -b -n -M - %s%s%s\n", sq, $0, sq, sq, $0, sq}' | sh -x exit 0 -- Karl Vogel I don't speak for the USAF or my company Yeah, yo mama dresses you funny and you need a mouse to delete files. --Markus Stumpf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTOS: Timer fired even though it was canceled
On 2/13/10, Eitan Adler wrote: > On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol wrote: >> On 2/11/10, Eitan Adler wrote: What miniport driver, what arch, how to reproduce it? >>> a) no idea >>> b) Sorry for leaving that out: 8.0-RELEASE-p2 i386 >>> c) Boot the computer and watch tty0 >> >> Does it happens also if you load module (bcmwl5_sys.ko) after boot via >> kldload instead via /boot/loader.conf >> > Is this what you mean? > > Id Refs AddressSize Name > 81 0xc101c000 1ddb8if_bwi.ko > 91 0xc103a000 180ae4 if_bwi_ndis.ko if_bwi is unrelated to NDIS. I'm asking about module you created with ndisgen. > > If you meant loading these via kldload instead of at boot time then > No, > But when I put it back in I also no longer see the warning. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NTOS: Timer fired even though it was canceled
On Fri, Feb 12, 2010 at 1:12 PM, Paul B Mahol wrote: > On 2/11/10, Eitan Adler wrote: >>> What miniport driver, what arch, how to reproduce it? >> a) no idea >> b) Sorry for leaving that out: 8.0-RELEASE-p2 i386 >> c) Boot the computer and watch tty0 > > Does it happens also if you load module (bcmwl5_sys.ko) after boot via > kldload instead via /boot/loader.conf > Is this what you mean? Id Refs AddressSize Name 81 0xc101c000 1ddb8if_bwi.ko 91 0xc103a000 180ae4 if_bwi_ndis.ko If you meant loading these via kldload instead of at boot time then No, But when I put it back in I also no longer see the warning. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PASSWORD LOST!!
On Fri, Feb 12, 2010 at 08:05:24AM -0600, John typed: > > > > > If this is a dedicated server (or a VPS, or RPS, or any type of server > > hosted by a server provider), you may have a rescue system, so you can > > boot it and chroot yourself to access the system. Or, in some cases, you > > can have a KVM-over-IP access, so you can boot into single user mode. > > People, people - be careful that we are not creating a formula to > break into FreeBSD servers around the world... That formula is allready there (but fixed in more recent source off course) http://seclists.org/fulldisclosure/2009/Nov/371 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root"
On 13 February 2010 18:10, Matthew Seaman wrote: > On 13/02/2010 17:49, Bob Johnson wrote: > >> It is possible (I don't remember) that the "toor" account does not >> have a shell in the default passwd file. If that's the problem, use >> vipw to add the path to a shell as the last field on the line. The >> "root" account should provide a good example, or look at the line for >> your own user account. "/bin/csh" should work for recent versions of >> FreeBSD. > > An empty field for the user shell in /etc/{master.,}passwd means the > account gets the default shell, which in the case of FreeBSD is /bin/sh. > Shouldn't cause the observed problem. > > Cheers, > > Matthew > I would imagine then that /etc/ttys is set to 'insecure' for all. Can you log in as root Jason? Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
booting off a ZFS pool consisting of multiple striped mirror vdevs
Hello I have succesfully tested and used a "full ZFS install" of FreeBSD 8.0 on both single disk and mirror disk configurations using both MBR and GPT partitioning. AFAIK, with the more recent -CURRENT and -STABLE it is also possible to boot off a root filesystem located on raidz/raidz2 pools. But what about booting off pools consisting of multiple striped mirror or raidz vdevs? Like this: Assume each disk looks like a half of a traditional ZFS mirror root configuration using GPT 1: freebsd-boot 2: freebsd-swap 3: freebsd-zfs |disk1+disk2| + |disk3+disk4| + |disk5+disk6| My logic tells me that while booting off any of the 6 disks, boot0 and boot1 stage should obviously work fine, but what about the boot2 stage? Can it properly handle booting off a root filesystem thats striped across 3 mirror vdevs or is booting off a single mirror vdev the best that one can do right now? - Sincerely, Dan Naumov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root"
On 13/02/2010 17:49, Bob Johnson wrote: > It is possible (I don't remember) that the "toor" account does not > have a shell in the default passwd file. If that's the problem, use > vipw to add the path to a shell as the last field on the line. The > "root" account should provide a good example, or look at the line for > your own user account. "/bin/csh" should work for recent versions of > FreeBSD. An empty field for the user shell in /etc/{master.,}passwd means the account gets the default shell, which in the case of FreeBSD is /bin/sh. Shouldn't cause the observed problem. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard, Flat 3 Black Earth Consulting Ramsgate Kent, CT11 9PW Free and Open Source Solutions Tel: +44 (0)1843 580647 signature.asc Description: OpenPGP digital signature
Re: HELP! Is that possible "creating a user named root but acturallynot the administrator root"
On 2/12/10, Jason Lin wrote: > I try this method, after set the password of "toor", > I can't login with the account "toor". It is possible (I don't remember) that the "toor" account does not have a shell in the default passwd file. If that's the problem, use vipw to add the path to a shell as the last field on the line. The "root" account should provide a good example, or look at the line for your own user account. "/bin/csh" should work for recent versions of FreeBSD. - Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
SpamAssassin 3.3.0/sa-update problem
Hi, Since the update of SpamAssassin to 3.3.0, spamd doesn't start anymore and exits with an error: child process [x] exited or timed out without signaling production of a PID file: exit 25 at /usr/local/bin/spamd line 2544. It seems that after the upgrade, sa-update has to be run first. But in my case this results in an error also: sa-update -D Feb 13 15:32:07.485 [31554] dbg: logger: adding facilities: all Feb 13 15:32:07.486 [31554] dbg: logger: logging level is DBG Feb 13 15:32:07.486 [31554] dbg: generic: SpamAssassin version 3.3.0 Feb 13 15:32:07.486 [31554] dbg: generic: Perl 5.010001, PREFIX=/usr/local, DEF_RULES_DIR=/usr/local/share/spamassassin, LOCAL_RULES_DIR=/usr/local/etc/mail/spamassassin, LOCAL_STATE_DIR=/var/db/spamassassin Feb 13 15:32:07.486 [31554] dbg: config: timing enabled Feb 13 15:32:07.487 [31554] dbg: config: score set 0 chosen. Feb 13 15:32:07.534 [31554] dbg: dns: is Net::DNS::Resolver available? yes Feb 13 15:32:07.534 [31554] dbg: dns: Net::DNS version: 0.66 Feb 13 15:32:07.535 [31554] dbg: generic: sa-update version svn897929 Feb 13 15:32:07.535 [31554] dbg: generic: using update directory: /var/db/spamassassin/3.003000 Feb 13 15:32:07.839 [31554] dbg: diag: perl platform: 5.010001 freebsd Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: Digest::SHA1, version 2.12 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: HTML::Parser, version 3.64 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: Net::DNS, version 0.66 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: NetAddr::IP, version 4.027 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: Time::HiRes, version 1.9719 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: Archive::Tar, version 1.56 Feb 13 15:32:07.839 [31554] dbg: diag: [...] module installed: IO::Zlib, version 1.10 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Digest::SHA1, version 2.12 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: MIME::Base64, version 3.09 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: DB_File, version 1.82 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Net::SMTP, version 2.31 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Mail::SPF, version v2.007 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: IP::Country::Fast, version 604.001 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Razor2::Client::Agent, version 2.84 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Net::Ident, version 1.20 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: IO::Socket::INET6, version 2.56 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: IO::Socket::SSL, version 1.31 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Compress::Zlib, version 2.015 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Mail::DKIM, version 0.37 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: DBI, version 1.609 Feb 13 15:32:07.840 [31554] dbg: diag: [...] module installed: Getopt::Long, version 2.38 Feb 13 15:32:07.841 [31554] dbg: diag: [...] module installed: LWP::UserAgent, version 5.834 Feb 13 15:32:07.841 [31554] dbg: diag: [...] module installed: HTTP::Date, version 5.831 Feb 13 15:32:07.841 [31554] dbg: diag: [...] module installed: Encode::Detect, version 1.01 Feb 13 15:32:07.842 [31554] dbg: gpg: Searching for 'gpg' Feb 13 15:32:07.842 [31554] dbg: util: current PATH is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin Feb 13 15:32:07.842 [31554] dbg: util: executable for gpg was found at /usr/local/bin/gpg Feb 13 15:32:07.842 [31554] dbg: gpg: found /usr/local/bin/gpg Feb 13 15:32:07.843 [31554] dbg: gpg: release trusted key id list: 5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 26C900A46DD40CD5AD24F6D7DEE01987265FA05B 0C2B1D7175B852C64B3CDC716C55397824F434CE Feb 13 15:32:07.848 [31554] dbg: channel: attempting channel updates.spamassassin.org Feb 13 15:32:07.848 [31554] dbg: channel: update directory /var/db/spamassassin/3.003000/updates_spamassassin_org Feb 13 15:32:07.848 [31554] dbg: channel: channel cf file /var/db/spamassassin/3.003000/updates_spamassassin_org.cf Feb 13 15:32:07.848 [31554] dbg: channel: channel pre file /var/db/spamassassin/3.003000/updates_spamassassin_org.pre Feb 13 15:32:07.852 [31554] dbg: dns: query failed: 0.3.3.updates.spamassassin.org => NOERROR Feb 13 15:32:07.855 [31554] dbg: dns: query failed: mirrors.updates.spamassassin.org => NOERROR channel: no 'mirrors.updates.spamassassin.org' record found, channel failed Feb 13 15:32:07.855 [31554] dbg: diag: updates complete, exiting with code 4 I've tried to reinstall SpamAssassin by portupgrade -Rrf p5-Mail-SpamAssassin, but this doesn't make any difference. Hope that anyone has an idea how to solve this. Regards, Marco -- Use an accordion. Go to jail.
Re: custom kernel
On 13/02/10 04:08, Derek Funk wrote: I am trying to find how to install a custom kernel at installation. I have found an option in sysinstall to select a kernel. How do I add my own to the options so I can select it? I think the standard procedure is to install the generic kernel at installation then install your custom kernel afterwards. You should always keep the generic kernel to fall back on in case of any problems. BR, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Jailcfg - A new tool for creating small(!) jails
On Sat, Feb 13, 2010 at 1:07 AM, Aiza wrote: > Hay wake up. Nobody is going to install special software > just to review some simple script. Get a life. > Maybe. I was hoping that google code had some nice way of creating a tarball of the source on the fly. I'll mail google about it, it would be a nice feature. -- chs, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
resetting shmmax parameters
Hello, FreeBSD O/S 7.2 i386 1CPU AMD Server memory RAM memory hw.physmem: 1060540416 # sysctl -a | grep shm kern.ipc.shm_allow_removed: 0 kern.ipc.shm_use_phys: 0 kern.ipc.shmall: 8192 kern.ipc.shmseg: 128 kern.ipc.shmmni: 192 kern.ipc.shmmin: 1 kern.ipc.shmmax: 33554432 >From dmesg # grep memory /var/run/dmesg.boot real memory = 1073676288 (1023 MB) avail memory = 1036972032 (988 MB) # swapinfo Device 1K-blocks UsedAvail Capacity /dev/ad0s1b 1536000 32 1535968 0% /dev/ad1s1b 1048576 28 1048548 0% /dev/ad4s1b 2072576 44 2072532 0% Total 4657152 104 4657048 0% program suggested parameters for shared memory To reset the parameters: vi /etc/sysconfigtabin order to add the lines ipc: shm-max=2147483647 sem-mni=128 What is a safe / comfortable shmmax to use? Can I increase shmmax on the fly as in Linux or do I have to do reboot? Thanks! -- View this message in context: http://old.nabble.com/resetting-shmmax-parameters-tp27573158p27573158.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: setting default directory ACLs using xargs
Doug Sampson wrote: > I need to do this at the command prompt for all directories: ... > r...@aries:/data/Products# getfacl . | setfacl -d -b -n -M - . > Now, I have thousands of subdirectories that I want to apply this > to. When I attempt to use the xarg command with the above command > modified to work with xargs, I end up with an error message ... Two possibilities come to mind: * Try using the "-L 1" switch to cause xargs to run a separate command instance for each input value. * You may have run into one of the rare situations where "find ... | xargs" is not the best tool for the job. It may work better to set up a 3-line shell script along the lines of #!/bin/sh cd $1 getfacl . | setfacl -d -b -n -M - . and then use "find -type d -exec" to run it for each directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: NOW what?
On Sat, Feb 13, 2010 at 04:38:54AM +0900, Byung-Hee HWANG wrote: > Gary Kline writes: > > > On Fri, Feb 12, 2010 at 10:10:38AM -0800, Gary Kline wrote: > > [... long line snip ...] > > I just tried again and now Konq did send me to the hyperlink... > > Was i hallucinating? dunno > > Hi Gary, how about GNOME's epiphany? Recently i settled down at > epiphany for web work. That looks good to me. > I like epiphany more and more; the thing it lacks, and the Only reason I use Konq is that it lets me use the festival text-to-speech apps. If *anybody* knows of any other browser that can be set to have festival stuff work, please, Pulsseeze let me know:) gary > Sincerely, > > -- > "We'll meet him later." > -- Michael Corleone, "Chapter 1", page 42 -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.79a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"