• We did not send an email asking for donations - please read this post.

Search results

  1. SpongeB0B

    What does this NFtables rules does ?

    Hi everyone, In my nft ruleset I've created (this is an extract) --> table ip Tip { chain chIN { type filter hook input priority 0; policy drop; ct state established,related accept iif != lo ip daddr drop iifname lo accept } chain...
  2. SpongeB0B

    [Solved] Allow apt in nftables

    Hi everyone, I'm trying to do a apt --update but I get -> So the DNS resolution is passing but not to connection to deb.devuan.org:80 :( It's my nftables that block it but I don't what to open to allow the connection Here my nftables table ip6 Tip6 { chain chPR { type filter...
  3. SpongeB0B

    [Solved] Install software offline, best way ?

    Hi everyone, I'm trying to install ATOM editor on Devuan (this machine is off-line) On windows no problem at all to install it as portable application / off-line I've tried the following I've downloaded the .deb file and tried this apt install atom-amd64_160.deb --no-install-recommends...
  4. SpongeB0B

    Need an explanation on \; and the end of commands

    Hi everyone, I would like to know exactly what does \; at the end of the example that I saw online example 1 find /var/log -name *.log -exec ls -l {} \; So If I get it well Find will look in /var/log for files named *.log then will execute ls -l on each result ( {} = the output list ? )...
  5. SpongeB0B

    output file only when STDERR exist.

    Hi everyone, I created a cron job trough crontab -e and it work line in the crontab : * * * * * myscript.sh 2>>/home/me/Desktop/errors.txt But I have a small bug, every-time it run, it generate the errors.txt (nothing inside) is there a way to generate this file only if indeed there is an...
  6. SpongeB0B

    [Solved] Can a user manage a group ?

    Hi everyone, is there a way to assign admin right for a group ? meaning that this user will be able to add, remove membership of this group ? Thanks
  7. SpongeB0B

    Sharing files between users with stickybit and setgid

    Hi everyone, I would like to share files between users ( /home/tester ) I would like that only members of the group tester have access to that folder and can only delete their files I've tried the following su groupadd tester useradd -m -c "John Doe" John passwd John usermod -aG tester...
  8. SpongeB0B

    [Solved] how launch a interactive terminal for an user from .profile

    Hi everyone, I was looking how to Launch command once at login per user. This is now working thanks to @NorthWest But I would like to launch for the user a terminal to change his password like this -> xfce4-terminal -e 'passwd' from a script that is being called from ~/.profile see: Launch...
  9. SpongeB0B

    [Solved] Launch command once at login per user.

    Hi everyone, When I create an user ( useradd ) I would like to create a command to run only once for the user when he login for the first time. First I was thinking about ~/.profile but I don't like it because the command will stay forever in the file.. and if I use a solution like...
  10. SpongeB0B

    How monitor which account try to open what ?

    Hi everyone, I found really odd that by default a lot of distribution set the /etc/passwd as 644. (I rather prefer 640) I found curious that any user account can list the full list of user registered on the machine.. :oops: If I'll set /etc/passwd as 640 is there a way to see which account...
  11. SpongeB0B

    [Solved] Alias don't output with TAB and LF ?

    Hi everyone, when I enter this in the terminal stat --printf="%a\t%A\t%U\t%G\t%s\t%.19y\t%F\t%n\n" * | numfmt --to=iec-i --field=5 --delimiter=' ' --suffix=B I got what is expected: 755 drwxr-xr-x virtua virtua 4.0KiB 2022-02-28 07:09:20 directory Desktop 755...
  12. SpongeB0B

    How change date format of ulogd2 ?

    Hi everyone, I followed this tutorial to externalize my nftables log to another log than /var/log/messages it work, unfortunately the date format is I would like to change it to something close to I've looked in the ulogd documentation but found nothing about it... Any ideas ? or other...
  13. SpongeB0B

    [solved] nftables how add saddr to icmp ?

    Hi everyone, How can we add saddr to icmp ? for example table ip Tip { type filter hook input priority 0; policy drop; icmp type echo-request counter log prefix "echo: " accept } How can I specify a source address ? I've tried table ip Tip { type filter hook input priority 0...