Re: Malloc config became global sysctl in 6.5

2019-04-27 Thread Vincent Legoll
y auditing. > > Oh, those hypocrite wankers here and there.. Looks like auditing and hardening are not exactly the same thing. -- Vincent Legoll

Re: migrate python script from sudo to doas

2018-10-30 Thread Vincent Legoll
Hello, On Tue, Oct 30, 2018 at 12:33 PM Markus Rosjat wrote: > exit = subprocess.check_call(['doas', 'useradd', '-u %s' % user_id, > '-g =uid', > '-s /sbin/nologin', > '-d %s' % mb_parent_dir, > user_name]) Maybe you should try like the following: cmd = ['doas', 'useradd', '-u', user_id,

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Vincent Legoll
vince@dell:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin 1+0 records in 1+0 records out 123456789 bytes (123 MB, 118 MiB) copied, 0,0703818 s, 1,8 GB/s This may not work with huge bs though... -- Vincent Legoll