[FFmpeg-user] Parse environment variables in command line
rayanayar at mail.ru
Mon Apr 20 07:23:15 CEST 2015
On Monday 20 April 2015 01:17:05 Phil Turmel wrote:
> ps gets its information from the files in /proc/ where you can find a
> variety of information on running processes. Among them is each
> processes' 'environ' file, containing its environment. So the
> 'security' you are asking for is no new security at all.
> Processes that need to truly keep such data away from process monitors
> need to use a file with 0600 mode that contains the secrets. A request
> for support for that would actually make sense.
$ ls -l /proc/$$ | grep environ
-r-------- 1 ilya ilya 0 апр. 20 10:19 environ
User can't read environment variables of other user processes.
This is enough for me.
ffmpeg process which record IP-cam stream runs as user 'backup'.
Interactive users can not see its environment.
Monday 20 April 2015 10:19:40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the ffmpeg-user