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 ftp getpocket git hacks hasło hidden http linux log logs mail mikrotik mysql openvpn password php postfix proxy recovery security server serwer shell smb spam ssl tips ubuntu vpn window windows
January 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Jun    
Copyright © 2026 blog.monogatari.pl