Showing posts with label folder. Show all posts
Showing posts with label folder. Show all posts

Friday, December 23, 2022

Smartcard on UBUNTU, HOW TO SHARE FOLDER AND PRINER ON UBUNTU & ZorinOSLite

Super safe server for peanuts:

1)

 https://ubuntu.com/server/docs/security-smart-cards

https://www.ca.posta.rs/preuzimanje_softvera.htm

2)

HOW TO SHARE FOLDER AND PRINER ON UBUNTU & ZorinOSLite:

https://phoenixnap.com/kb/ubuntu-samba

https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Print_Server

https://www.makeuseof.com/set-up-network-shared-folder-ubuntu-with-samba/

https://fedoraforum.org/forum/printthread.php?t=113307&pp=80


Next, we have to make sure CUPS is OK with the sharing. Open up Firefox or your other favourite browser and browse to:

http://localhost:631/printers


Now, browse to:

http://localhost:631/admin


. Make sure that 'Share published printers connected to this system' is checked (enabled).


Note: You need to have administrative privileges to edit the configuration file.

sudo vim /etc/samba/smb.conf

Add the following lines to the bottom of the config file.

[sambashare]
comment= Network Shared Folder by Samba Server on Ubuntu
path = /home/your_username/sambashare
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
read only = no

Remember to update the path parameter with your username. You can get your username by running the following command:

echo $USER

To exit the Vim editor after making your changes, simply type :wq and press the Enter key.


https://chat.openai.com/auth/login

https://openai.com/blog/chatgpt/

IDS / IPS :

https://openwips-ng.org/

https://www.fail2ban.org/wiki/index.php/Main_Page

https://zeek.org/

https://www.itprc.com/intrusion-prevention-detection-tools/

Do you need encouragement while typing the best code ever?

Try this:


https://www.tp-link.com/us/support/faq/744/

https://www.tp-link.com/us/support/faq/1497/

https://www.tp-link.com/us/support/faq/1529/

Friday, October 25, 2019

User folder owner

You can try this procedure:


  • In Explorer, right-click the drive in Question and select Properties
  • On the Security tab, click Advanced
  • On the Owner tab, select your account if it isn't already
  • Check Replace owner on subcontainers and objects and click OK twice (close all dialogs)

That sets you as the owner of every folder and file on the drive.
  • Now, in the Explorer, right-click the drive in Question and select Properties
  • On the Security tab add your account if it is not already there and set Full Access
  • Click Apply > Advanced > check Replace permission on all child objects with......
  • Click Apply