[EMAIL PROTECTED] wrote:
I agree that you don't want grep to ignore pipes and I know about the
find workaround, but I still think the fact that two pipes exist by
default in /etc is a bug:
# ls -ld /etc/*pipe*
prw------- 1 root root 0 May 22 14:17 /etc/initpipe
prw------- 1 root root 0 May 22 18:19 /etc/utmppipe
These files do belong in /var/run (which didn't exist at the time)
If you want to find something in your config files on almost any
GNU/Linux distribution or BSD or OSX, you can do this:
grep foo /etc/*
And Solaris teaches you not to run that command as root (you
shouldn't)
Casper
Good point. So I hope Indiana is more like ubuntu and OSX in that:
- It doesn't allow root login by default.
- It installs sudo by default.
You'd still run into this pipe problem with sudo grep foo /etc/* but
making the default sysadmin shell a non root shell might reduce the
chances of encountering the "forever grep" problem.
_______________________________________________
opensolaris-discuss mailing list
[email protected]