Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #127669 > unrolled thread

Grabnting socket privilege to unix utilities

Started byJF Mezei <jfmezei.spamnot@vaxination.ca>
First post2019-11-29 02:00 -0500
Last post2019-12-01 12:31 +0000
Articles 16 on this page of 36 — 7 participants

Back to article view | Back to comp.sys.mac.system


Contents

  Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 02:00 -0500
    Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-29 13:23 +0000
      Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 14:14 -0500
        Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-30 12:05 +0000
          Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 17:02 -0500
            Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 23:04 -0500
              Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 07:29 +0000
                Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:25 -0500
                  Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 22:32 +0000
                    Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 22:36 -0500
                      Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-02 09:21 +0000
                      Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-02 15:43 +0000
                      Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-02 15:47 +0000
                        Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-02 14:33 -0500
                          Re: Grabnting socket privilege to unix utilities Alan Baker <nunya@ness.biz> - 2019-12-02 15:44 -0800
                            Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-03 10:56 +0000
                              Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-03 16:54 -0500
                                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-04 06:03 +0000
                                  Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-04 14:13 +0000
                                    Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 07:06 +0000
                                    Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 05:03 -0500
                                      Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 11:28 +0000
                                      Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-05 12:48 +0000
                                        Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 18:31 -0500
                                          Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:35 -0800
                                            Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:11 -0500
                                              Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-13 09:51 -0800
                                          Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-06 07:12 +0000
                                            Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-06 07:38 +0000
                                            Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:26 -0500
                          Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-03 01:15 +0000
                          Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:36 -0800
              Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-01 01:01 -0800
                Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 10:47 +0000
                  Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:29 -0500
              Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-01 12:31 +0000

Page 2 of 2 — ← Prev page 1 [2]


#127867

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-12-05 05:03 -0500
Message-ID<6C4GF.136849$kE3.47873@fx36.iad>
In reply to#127835
On 2019-12-04 09:13, bje@ripco.com wrote:

> No clue why they think ping was removed.

It wasn't ping which was removed. I will repeat again. Found missing
stuff (ftp I think was the trigger),. Found package of internet
utilities. It ended up installing a whole bunch of standrad utilities,
so of course, there are now duplicates. Ping turns out to be one of
those.  So I noticed it didn't work, asked about the privileges, and
also during this conversation realized that the OS-X distribution still
have ping in /sbin.  (all documentation for Linux pointed to ping being
in /bin so I had not found it initially - they styate sbin should only
be used for core OS/system management stuff).

>  - Similarly, 'ping', 'ping6', and 'traceroute', used to depend on
>    setuid installation, but also these are now content with
>    capabilities like CAP_NET_RAW, PRIV_NET_ICMPACCESS, and
>    PRIV_NET_RAWACCESS.

Can you define "capabilities" ?  Compile flag? Doing something to the
binary after it has compiled/linked ?

Being able to add specific capabilities after compile would go against
the answered I got here that it was root or nothing in terms of
privileges on OS-X. So IO am curious on how to provide such specific
capabilities without granting root provilege.





[toc] | [prev] | [next] | [standalone]


#127868

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-12-05 11:28 +0000
Message-ID<slrnquhqfq.1ipn.g.kreme@ProMini.lan>
In reply to#127867
In message <6C4GF.136849$kE3.47873@fx36.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> Found package of internet utilities. It ended up installing a whole
> bunch of standrad utilities,

See? You fucked up your system.

-- 
NOTHING IS FINAL. NOTHING IS ABSOLUTE. EXCEPT ME, OF COURSE. SUCH
	TINKERING WITH DESTINY COULD MEAN THE DOWNFALL OF THE WORLD.
	THERE MUST BE A CHANCE, HOWEVER SMALL. THE LAWYERS OF FATE DEMAND
	A LOOPHOLE IN EVERY PROPHECY. --Sourcery

[toc] | [prev] | [next] | [standalone]


#127870

Frombje@ripco.com
Date2019-12-05 12:48 +0000
Message-ID<qsauak$31k$1@remote5bge0.ripco.com>
In reply to#127867
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> It wasn't ping which was removed. I will repeat again. Found missing
> stuff (ftp I think was the trigger),. Found package of internet
> utilities. It ended up installing a whole bunch of standrad utilities,
> so of course, there are now duplicates. Ping turns out to be one of
> those.  So I noticed it didn't work, asked about the privileges, and
> also during this conversation realized that the OS-X distribution still
> have ping in /sbin.  (all documentation for Linux pointed to ping being
> in /bin so I had not found it initially - they styate sbin should only
> be used for core OS/system management stuff).

Fine but quick fucking with Linux shit modified for OSX. 

Like I said before, install homebrew (https://brew.sh) and grab whatever you
think you are missing from there.

It's tested and debugged software for OSX.


> Can you define "capabilities" ?  Compile flag? Doing something to the
> binary after it has compiled/linked ?

I can't explain any of this. It's in the source code, the *.c files where
they include headers files like these:

ping.c:#include <sys/file.h>
ping.c:#include <sys/time.h>

those lines are for the header files from like /usr/include and within those
.h files are the definitions for things like PRIV_NET_RAWACCESS and
PRIV_NET_ICMPACCESS. Under solaris those are defined in
/usr/include/sys/priv_const.h and /usr/include/sys/priv_names.h

So all you have to do is learn C, poke around the header files, figure where
the privileges need to be tweaked and you'll be all set.

Easy peasy.

-bruce
bje@ripco.com

[toc] | [prev] | [next] | [standalone]


#127879

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-12-05 18:31 -0500
Message-ID<irgGF.47$0T1.7@fx05.iad>
In reply to#127870
On 2019-12-05 07:48, bje@ripco.com wrote:

> those lines are for the header files from like /usr/include and within those
> .h files are the definitions for things like PRIV_NET_RAWACCESS and
> PRIV_NET_ICMPACCESS. Under solaris those are defined in
> /usr/include/sys/priv_const.h and /usr/include/sys/priv_names.h


If mere flags in the source code results in a binary gaining raw socket
privilege, it basically means the OS does not enforce the need for
privilege to do raw sockets since anyone and everyone can write a C
rpogram with those #DEFINE (or just add a bit in the calls for socket
manipulation).

[toc] | [prev] | [next] | [standalone]


#127881

FromBarry Margolin <barmar@alum.mit.edu>
Date2019-12-05 22:35 -0800
Message-ID<barmar-1E0F15.22355005122019@reader.eternal-september.org>
In reply to#127879
In article <irgGF.47$0T1.7@fx05.iad>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2019-12-05 07:48, bje@ripco.com wrote:
> 
> > those lines are for the header files from like /usr/include and within those
> > .h files are the definitions for things like PRIV_NET_RAWACCESS and
> > PRIV_NET_ICMPACCESS. Under solaris those are defined in
> > /usr/include/sys/priv_const.h and /usr/include/sys/priv_names.h
> 
> 
> If mere flags in the source code results in a binary gaining raw socket
> privilege, it basically means the OS does not enforce the need for
> privilege to do raw sockets since anyone and everyone can write a C
> rpogram with those #DEFINE (or just add a bit in the calls for socket
> manipulation).

That's not how capabilities work. It's not something you set in the 
source code.

Capabilitis are a more fine-grained replacement for setuid. They're 
flags on the executable binary that can only be set by privilged users, 
which indicate specific privileges that are given to the process when it 
runs the program.

So you can give one program the privilege to use raw sockets, another 
program the privilege to use ICMP, another the privilege to use 
chown(2), etc.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#127887

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-12-06 04:11 -0500
Message-ID<8XoGF.231034$FR8.55583@fx45.iad>
In reply to#127881
On 2019-12-06 01:35, Barry Margolin wrote:

> That's not how capabilities work. It's not something you set in the 
> source code.
> 
> Capabilitis are a more fine-grained replacement for setuid. They're 
> flags on the executable binary that can only be set by privilged users, 
> which indicate specific privileges that are given to the process when it 
> runs the program.


Thansk for clarification. The other poster alluded to includes, so that
didn't seem logical.

O take it OS-X doesn't have this "capabilities" capability ? If it does,
what commands exist to manipulat those privileges (and list them on
existing binaries) ?

[toc] | [prev] | [next] | [standalone]


#128045

FromBarry Margolin <barmar@alum.mit.edu>
Date2019-12-13 09:51 -0800
Message-ID<barmar-B35412.09512313122019@reader.eternal-september.org>
In reply to#127887
In article <8XoGF.231034$FR8.55583@fx45.iad>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> On 2019-12-06 01:35, Barry Margolin wrote:
> 
> > That's not how capabilities work. It's not something you set in the 
> > source code.
> > 
> > Capabilitis are a more fine-grained replacement for setuid. They're 
> > flags on the executable binary that can only be set by privilged users, 
> > which indicate specific privileges that are given to the process when it 
> > runs the program.
> 
> 
> Thansk for clarification. The other poster alluded to includes, so that
> didn't seem logical.

The include file is simply where the macros that define the values of 
each capability are specified, just as you need an include file to get 
the O_RDONLY value for open().

> 
> O take it OS-X doesn't have this "capabilities" capability ? If it does,
> what commands exist to manipulat those privileges (and list them on
> existing binaries) ?

No, I don't believe it does. I think it's a recent Linux feature, I'm 
not sure what other Unix flavors have it.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#127885

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-12-06 07:12 +0000
Message-ID<slrnqujvre.21f1.g.kreme@ProMini.lan>
In reply to#127879
In message <irgGF.47$0T1.7@fx05.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2019-12-05 07:48, bje@ripco.com wrote:

>> those lines are for the header files from like /usr/include and within those
>> .h files are the definitions for things like PRIV_NET_RAWACCESS and
>> PRIV_NET_ICMPACCESS. Under solaris those are defined in
>> /usr/include/sys/priv_const.h and /usr/include/sys/priv_names.h


> If mere flags in the source code results in a binary gaining raw socket
> privilege, it basically means the OS does not enforce the need for
> privilege to do raw sockets since anyone and everyone can write a C
> rpogram with those #DEFINE (or just add a bit in the calls for socket
> manipulation).

Please stop saying nonsense based on zero knowledge.



-- 
We all need help with our feelings. Otherwise, we bottle them up, and
	before you know it powerful laxatives are involved.

[toc] | [prev] | [next] | [standalone]


#127886

FromJolly Roger <jollyroger@pobox.com>
Date2019-12-06 07:38 +0000
Message-ID<h4uercFk1shU1@mid.individual.net>
In reply to#127885
On 2019-12-06, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> In message <irgGF.47$0T1.7@fx05.iad> JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
>> On 2019-12-05 07:48, bje@ripco.com wrote:
>
>>> those lines are for the header files from like /usr/include and within those
>>> .h files are the definitions for things like PRIV_NET_RAWACCESS and
>>> PRIV_NET_ICMPACCESS. Under solaris those are defined in
>>> /usr/include/sys/priv_const.h and /usr/include/sys/priv_names.h
>
>> If mere flags in the source code results in a binary gaining raw socket
>> privilege, it basically means the OS does not enforce the need for
>> privilege to do raw sockets since anyone and everyone can write a C
>> rpogram with those #DEFINE (or just add a bit in the calls for socket
>> manipulation).
>
> Please stop saying nonsense based on zero knowledge.

Never. It's his modus operandi.

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

[toc] | [prev] | [next] | [standalone]


#127888

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-12-06 04:26 -0500
Message-ID<h9pGF.205428$FF4.192982@fx40.iad>
In reply to#127885
On 2019-12-06 02:12, Lewis wrote:

> Please stop saying nonsense based on zero knowledge.

Someone posted that these capabilities were specified in sour code via
constants desined in includes.

I questioned this. I did not initiate the concept of these capabilities
being set in source code.

Barry Margolin confirmed they are not set in source code but rather
capabilities bit set on the binary by a privileged user.

[toc] | [prev] | [next] | [standalone]


#127800

FromLarry Moss <moss@airigami.com>
Date2019-12-03 01:15 +0000
Message-ID<slrnqubdpg.bbp.moss@strangepork.lan>
In reply to#127793
On 2019-12-02, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:
> On 2019-12-02 10:47, Larry Moss wrote:
>> * If the suid bit is set, it's always set. There may be a situation where
>> you want acme to run as an ordinary user. You can't do that without
>> changing the suid bit at that moment.
>
> Understood. fair point. But in the case of "ping", it has one duty and
> that duty requires privileges, so it is useless to try to run it
> unprivileged.   But in the case of something like "rm", then you really
> really don't want to set the "s" bit on it.

But, as pointed out elsewhere, ping comes with the OS and does what it's
supposed to without running as root. If you installed another version of
ping, the problem is probably related to that.

>> Changing the suid bit on software that came with the system is a system
>> level change.
>
> That is the problem. Many internet utilities no longer come with the
> system, so you have to build them from open source or import them from
> older versions of OS-X.

ping, ssh, telnet are all there. I don't see rlogin or rsh. Not sure the
last time I used them. I can't actually remember the last time I used
telnet either, other than to watch the text version of Star Wars. I imagine
they got rid of a few other older utilities that I'm not thinking about
right now. I expect the point of removing them was to discourage their use.

>> Be smart. Use sudo. Create shell aliases for the things that you need 
>> sudo for if you absolutely must. 
>
> Aliasing a command for another is very dangerous. Consider the
> implicatiosn when you run complex scripts that you didn't write
> (installinG/building software for instance) where it invokes that
> command and gets different than expected results.

Fair point. But if an alias exists that runs 'sudo ping' for ping, it's
still doing the same as if you change the suid bit on ping.

-- 
Larry Moss, http://www.airigami.com
Airigami: The fine art of folding air.

[toc] | [prev] | [next] | [standalone]


#127882

FromBarry Margolin <barmar@alum.mit.edu>
Date2019-12-05 22:36 -0800
Message-ID<barmar-368A44.22365905122019@reader.eternal-september.org>
In reply to#127793
In article <GGdFF.227429$FR8.144882@fx45.iad>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> > Be smart. Use sudo. Create shell aliases for the things that you need 
> > sudo for if you absolutely must. 
> 
> Aliasing a command for another is very dangerous. Consider the
> implicatiosn when you run complex scripts that you didn't write
> (installinG/building software for instance) where it invokes that
> command and gets different than expected results.

Aliases aren't normally expanded by shell scripts.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#127736

FromBarry Margolin <barmar@alum.mit.edu>
Date2019-12-01 01:01 -0800
Message-ID<barmar-FBAB30.01011701122019@reader.eternal-september.org>
In reply to#127733
In article <bZGEF.113229$YF.7514@fx43.iad>,
 JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> >> sudo chown root:wheel command-that-is-a-problem
> 
> The binaries in /usr/local/bin were already onwed by it.
> 
> >> sudo chmod u+s command-that-is-a-problem
> 
> That did the trick.  "s"  tells the OS to run that executable under the
> username of the owner of the file instead of that of the parent process
> (aka: the user running the command).
> 
> Are there users who have enough privileges to say create sockets such as
> what is needed for ping, but dont have the full mights of root?
> 
> (on VMS, one could grant, via the INSTALL utility, specific privileges
> to the app, so the app ran under your user, but the binary code was
> granted those specific privs (so for instance, possible to listen to a
> well known port, but not access all system files).

I don't think Mac OS has the concept of fine-grained capabilities like 
this. It's a relatively recent feature of Linux.

Mac OS just has root vs. non-root.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

[toc] | [prev] | [next] | [standalone]


#127737

FromLewis <g.kreme@gmail.com.dontsendmecopies>
Date2019-12-01 10:47 +0000
Message-ID<slrnqu76hd.20mr.g.kreme@ProMini.lan>
In reply to#127736
In message <barmar-FBAB30.01011701122019@reader.eternal-september.org> Barry Margolin <barmar@alum.mit.edu> wrote:
> In article <bZGEF.113229$YF.7514@fx43.iad>,
>  JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

>> >> sudo chown root:wheel command-that-is-a-problem
>> 
>> The binaries in /usr/local/bin were already onwed by it.
>> 
>> >> sudo chmod u+s command-that-is-a-problem
>> 
>> That did the trick.  "s"  tells the OS to run that executable under the
>> username of the owner of the file instead of that of the parent process
>> (aka: the user running the command).
>> 
>> Are there users who have enough privileges to say create sockets such as
>> what is needed for ping, but dont have the full mights of root?
>> 
>> (on VMS, one could grant, via the INSTALL utility, specific privileges
>> to the app, so the app ran under your user, but the binary code was
>> granted those specific privs (so for instance, possible to listen to a
>> well known port, but not access all system files).

> I don't think Mac OS has the concept of fine-grained capabilities like 
> this. It's a relatively recent feature of Linux.

> Mac OS just has root vs. non-root.

That is quite incorrect. macOS has an extensive ACL framework.  You can
do nearly anything you want in the man page for chmod.

For example, when the kids were young I used ACLs on the movies in the
shared volume to restrict their access to some of the movies I didn't
want them accidentally seeing without supervision.

-- 
Right now I'm having amnesia and deja vu at the same time. I think
	I've forgotten this before.

[toc] | [prev] | [next] | [standalone]


#127748

FromJF Mezei <jfmezei.spamnot@vaxination.ca>
Date2019-12-01 17:29 -0500
Message-ID<S8XEF.217420$FR8.11269@fx45.iad>
In reply to#127737
On 2019-12-01 05:47, Lewis wrote:

> That is quite incorrect. macOS has an extensive ACL framework.  You can
> do nearly anything you want in the man page for chmod.

I am aware of ACLs to control access to a file. Do ACLs also provide
granular privileges to binaries when they are executed at line command?



[toc] | [prev] | [next] | [standalone]


#127738

Frombje@ripco.com
Date2019-12-01 12:31 +0000
Message-ID<qs0brp$esv$1@remote5bge0.ripco.com>
In reply to#127733
JF Mezei <jfmezei.spamnot@vaxination.ca> wrote:

> That did the trick.  "s"  tells the OS to run that executable under the
> username of the owner of the file instead of that of the parent process
> (aka: the user running the command).

It's not a trick, it's a bad idea.

You should not have executables that are suid root.

If it's a one-man, one-machine, one-login kind of thing, sure, you'll
probably be ok from now to doomsday. One multi-user machines, it's again, a
really bad idea.

> Are there users who have enough privileges to say create sockets such as
> what is needed for ping, but dont have the full mights of root?

I really doubt whatever you are fucking with needs to create a socket, it's
probably trying to open one somewhere. (Where is truss when you need it?)

If you do a ls -l /dev

you'll see some of those like this:

crw-rw-rw-  1 root  wheel       3,   2 Dec  1 06:08 null

which anyone can read or write to, or this:

crw-r--r--  1 root  wheel      13,   0 Nov 14 15:01 fsevents

which only root can read/write to but everyone else can only read.

crw-------  1 root  wheel       6,   0 Nov 14 15:01 klog

is root read/write only.

see 'man mknod' for the explanation of the b and c type files.


Instead of fucking around with all this half-broke shit, why not just
install homebrew?

They keep the stuff to date, puts the links in and if not, can easily be
manually linked...

/usr/local/bin/telnet -> ../Cellar/telnet/60/bin/telnet

By the way, if it is creating a socket, it probably should be under /var/run.

srwxrwxrwx  1 root             daemon      0 Nov 14 15:01 portmap.socket
srwxrwxrwx  1 root             daemon      0 Nov 14 15:01 pppconfd

The ones that start with s are sockets but again, without knowing what it's
trying to do, can't really say what needs to be done there.

-bruce
bje@ripco.com

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.sys.mac.system


csiph-web