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 conf config configuration dav dns email freebsd freenas git hacks hasło hidden http linux log mail migration mikrotik mysql nagios network password php postfix proxy realtek recovery root server serwer shell smb spam spf tips ubuntu vpn wallabag windows
October 2025
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jun    
Copyright © 2025 blog.monogatari.pl