[lkml]   [1999]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Capabilities done right [diff against 2.3.1]
Pavel Machek wrote:
> > I may want to _strip_ shellscripts of power.
> Ok, that's legitimate. In such case , we'll have to modify shell to
> understand something like --drop, so that beggining of shell would
> look like
> #!/bin/bash --drop NET_BIND_SERVICE
> . Which again has nice property like surviving NFS/ftp transfers etc.

You don't need to modify the shell.

#!/bin/setcap --drop NET_BIND_SERVICE /bin/bash

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:51    [W:0.025 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site