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 change cmd conf config configuration cron dav dkim dns email extract firefox freebsd freenas git hacks hasło hidden http linux log mail migration mikrotik mysql password php postfix proxy recovery server serwer shell smb spam spf tips ubuntu vpn windows
December 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
293031  
« Jun    
Copyright © 2025 blog.monogatari.pl