Friday, January 18, 2019

CIFS mount on linux server


This the following step use mount cifs on linux server.


1) Create fstab entry

//<servername>/<path/ /<mount-point>   cifs _netdev,gid=,uid=,credentials=/root/.password,sec=ntlmsspi 0 0


2) Create /root/.password file

[root@test ~]# cat /root/.password
username=testuser
password=2pass02dd

No comments:

Post a Comment

Create rpm and deb using fpm

Create rpm and deb using fpm  fpm -s dir -t rpm -n unbound-exporter -v 1.0 --prefix /usr/bin unbound_exporter   fpm -s dir -t rpm -n unbound...