vim /etc/update-motd.d/10-stats
pdbedit -P “min password length” -C 8 pdbedit -P “password history” -C 4 #maximum password age value in seconds, -1…
Temporary solution: sudo mount -t cifs //netbiosname/sharename /media/sharename -o username=winusername,password=winpassword,iocharset=utf8,file_mode=0777,dir_mode=0777 Permanent solution: touch /root/.smbcredentials chmod 700 /root/.smbcredentials echo ‘username=winusername password=winpassword’…
echo -e “new_passwordnnew_password” | (smbpasswd -a -s $USER)