Skip to content
blog.monogatari.pl
  • Home
  • Own server

Tag: shell

Ubuntu – Custom banner after log in

2016-03-03 BigRetroMike Leave a comment

vim /etc/update-motd.d/10-stats  

Continue Reading →

Posted in: Linux daily Filed under: banner, linux, shell, ubuntu

Linux – use pdbedit to change password policy

BigRetroMike Leave a comment

pdbedit -P “min password length” -C 8 pdbedit -P “password history” -C 4 #maximum password age value in seconds, -1…

Continue Reading →

Posted in: Linux daily Filed under: linux, passw, pdbedit, shell

Linux – mount remote windows drivers

BigRetroMike Leave a comment

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’…

Continue Reading →

Posted in: Linux daily Filed under: linux, montowanie, mount, shell, smb, windows

Linux – smbpasswd without typing password

BigRetroMike Leave a comment

echo -e “new_passwordnnew_password” | (smbpasswd -a -s $USER)  

Continue Reading →

Posted in: Linux daily Filed under: password, shell, smb, zmiana

Post navigation

Page 2 of 2
← Previous 1 2
  • Polski
  • English

Tags

android apache bind bind9 caldav carddav change conf config configuration dav dns email freebsd freenas git hacks hasło hidden http linux log mail mikrotik mysql openvpn password php pocket postfix proxy pure-ftpd recovery server serwer shell smb spam ssh tar tips ubuntu vpn windows zmiana
June 2026
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
« Jun    

Categories

  • Android
  • Consoles & Games
  • IT Tutorial
  • Linux daily
  • Mikrotik
  • My hobby
  • Uncategorized
  • Useful hacks
  • Windows daily
Copyright © 2026 blog.monogatari.pl