Reputation
592
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 9
Newest
 Commentator
Impact
~95k people reached

Jan
25
comment Reloading Samba4's smb.conf without restarting the service
smbd is used on Samba 4.1 on Debian Jessie. Maybe that is distribution dependent.
Jan
23
comment How to redirect kernel messages having the unique id substring into separate log file (using `rsyslog`)?
On my Debian (7 or 8) systems, the msg doesn't start with the log prefix. So I needed this regex instead : :msg, regex, "^\[ *[0-9]*\.[0-9]*\] MyPrefix" to match Jan 23 18:11:35 myhost kernel: [607552.301334] MyPrefix IN=...
Jan
23
revised How to copy the partition layout of a whole disk using standard tools
Add MBR/GPT detect + use sfdisk for MBR, sgdisk for GPT
Jan
4
comment How to grep for text in a file and display the paragraph that has the text?
Or shorter (and thus more readable), as triplee wrote in a comment: perl -00 -ne 'print if /42B/' file.
Jan
2
revised Ignore a specific ip for fail2ban
tags +fail2ban
Jan
2
suggested approved edit on Ignore a specific ip for fail2ban
Dec
9
comment How to automatically start and shut down VirtualBox machines?
Tried this in Debian Jessie, but it didn't work. Created user and group, set ownership of all files (including /dev/vbox*). But when the service starts, it cannot find the VM, even though the name is right. Will use the normal init script after all.
Nov
28
answered Exclude one pattern from glob match
Nov
25
comment Is there a unix command line tool that can analyze font files?
Indeed, fc-scan does't seem to show the copyright. foundry is the closest it gives you. But otfinfo -i, suggested by cjm, does display it.
Nov
17
comment What is a better way to deal with server disconnects of sshfs mounts?
Well, if that works for you, then you don't need a script and ruby interpreter. A single line would do just as well: while true; do mkdir -p /x/y; sleep 2; done
Oct
31
revised How to set the default domain for a new Roundcube webmail user?
specify file where to add config
Oct
31
awarded  Commentator
Oct
31
comment How to set the default domain for a new Roundcube webmail user?
In the current version (1.1.3), it would be $config['mail_domain'] = '%d'; in the file roundcube/config/config.inc.php.
Oct
31
suggested approved edit on How to set the default domain for a new Roundcube webmail user?
Oct
31
revised How can I install more recent versions of software than what Debian provides?
fixed backtick quoting in "**NB: Make sure ..." part
Oct
24
awarded  Good Answer
Oct
2
comment While trying to ssh, pam_ldap always sends the password “INCORRECT” causing bind to fail
I had this misleading error because my /etc/ssh/sshd_config file contained AllowUsers user1 user2 ..., so other users were not allowed SSH access. So in my case, this pam_ldap error saying "Invalid credentials" had in fact nothing to do with ldap or the password.
Aug
23
revised /etc/shadow : how to generate $6$ 's encrypted password?
add arguments to example
Aug
23
suggested approved edit on /etc/shadow : how to generate $6$ 's encrypted password?
Jul
22
awarded  Announcer