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 dig dns dovecot email freebsd freenas git hacks hasło hidden http key linux log logs mail mikrotik mysql password php postfix proxy putty recovery security server serwer shell smb spam ssl tips ubuntu vpn windows
August 2025
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Jun    
Copyright © 2025 blog.monogatari.pl