recentpopularlog in

kme : network   23

Prevent .DS_Store file creation on network volumes - Mac OS X Hints
<code class="language-bash">find /Volumes/PSP/ | grep -ir '\(\._\..*\|\.AppleDouble\|\.AppleDesktop\|ws_ftp\.log\|Thumbs\.db\|pspbrwse\.jbf\)$' \
| sed 's/^\(.*\)$/rm -f "\1"/' | /bin/sh</code>
finder  mac  macos  annoyance  network  filesytem  sysadmin 
10 weeks ago by kme
pam_mount - ArchWiki | https://wiki.archlinux.org/
This avoids double mount attempts and errors relating to dropped privileges.
pam  pam_mount  network  filesystem  automount  cifs  maybesolution 
april 2018 by kme
pam_mount module / Bugs / #44 v1.3 - unknown pam_mount option "try_first_pass" | https://sourceforge.net/
try_first_pass is obsolete. The replacement is called "enable_pam_password" as per doc/options.txt. 'pam_password' is enabled by default, so you do not need to specify it either.
linux  cifs  pam  mount  network  filesystem  errormessage  solution 
april 2018 by kme
MySQL :: MySQL 5.5 Reference Manual :: 5.1.3 Server Command Options
A setting of bind-address=127.0.0.1 in /etc/my.cnf on a CentOS box will stop mysqld from listening on external network interfaces.

The results of 'sudo netstat -ap | grep mysqld' can be used to verify that (listening ports will go from "*:mysql" to "localhost:mysql").
mysql  network  security  sysadmin  dba  bind-address  solution 
october 2014 by kme
MountWindowsSharesPermanently - Ubuntu Wiki [https://wiki.ubuntu.com/]
This works, as long as the workstation and AD password are the same. In later versions of Ubuntu/Debain, you might also need to enable some of the mount options that are not allowed by default in /etc/security/pam_mount.conf.xml.
Mount password protected shares using libpam_mount (Ubuntu 9.04)

In addition to the initial assumptions, we're assuming that your username and password are the same on the Ubuntu machine and on the network drive.

Install libpam-mount:
<code class="language-bash">
sudo apt-get install libpam-mount
</code>

Edit /etc/security/pam_mount.conf.xml using your preferred text editor.
<code class="language-bash">
gksudo gedit /etc/security/pam_mount.conf.xml
</code>

First, we're moving the user specific config bits to a file which users can actually edit themselves: remove the commenting tags (<!-- and -->) surrounding the section called <luserconf name=".pam_mount.conf.xml" />. Save the file when done. With this in place, users can create their own ~/.pam_mount.conf.xml.
<code class="language-bash">
gedit ~/.pam_mount.conf.xml
</code>

Add the following:
<code class="language-xml">
<?xml version="1.0" encoding="utf-8" ?>
<pam_mount>
<volume options="uid=%(USER),gid=100,dmask=0700" user="*" mountpoint="/media/windowsshare"
path="sharename" server="servername" fstype="cifs" />
</pam_mount>
</code>
samba  smb  windows  ubuntu  sysadmin  network  filesystem  pam  solution 
april 2011 by kme

Copy this bookmark:





to read