You are not logged in.
this will probably show my bad lack of understanding but here goes. I have two scripts, one for encryption and another for decryption.
scenario is to say i have file foo on disk i want to encrypt with a keyfile using openssl all i want to type is the following in code snippet thus reducing keystrokes.
enc.sh foo keyfile
likewise i want to decrypt the same way
dec.sh foo keyfile
the encryption script:
#!/bin/sh
set -x
encrypt_file () {
openssl enc -aes-256-cbc -salt -pbkdf2 -iter 20000 -in "$1" -out "$3".aes -k "$4"
}
encrypt_file "$@" "$@" "$@"
the decryption script
#!/bin/sh
set -x
decrypt_file () {
openssl enc -d -aes-256-cbc -salt -pbkdf2 -iter 20000 -in "$1".aes -out "$3" -k "$4"
}
decrypt_file "$@" "${@%.*}" "$@"
This works but im wondering if this is the right way ?
thanks will do.
thanks, removing (and backing up) /lib/live/config/0140-xinit solved it.
when you say add boot option nocomponents=xinit, do you mean to add it as a parameter at the boot splash screen as an alternative to removing 0140-xinit?
dice wrote:Is the pandemic being used to create a surveillance state?
Short answer: No.
Longer answer: Saying "create" implies there wasn't one prior to 2020. There most assuredly was. And sadly, much if not most of it is voluntary. Most people simply DO NOT CARE. If they did, Facebook wouldn't exist. Google wouldn't have as much reach. Twitter, Amazon, and the list goes on...
This is not to say that those companies don't provide some value, but it comes at a cost. And one could argue that the value isn't always worth the cost. There is no conspiracy, people willingly give up their information for whatever value they get from those companies.
That's not to say that the government wasn't in before these companies were. They were in early. In the early 90s I started working at one of the biggest cell phone company in the US. Let's just say that one day several suits were in the office, talking to Sr Management about a need-to-know project. Rumors were circulating, and then we were promptly informed that we were not to speak of said project ever again.
siva corrected that back at post 10 https://dev1galaxy.org/viewtopic.php?pid=26589#p26589
btw, "Is the pandemic being used to create a surveillance state?" is the title of the youtube video.
I get what you are saying though, I suppose the world russel brand lives in only just became aware of it?
tried refractansapshot out today, created the iso of my system which is devuan beowulf with latest updates. I dont run a desktop environment only dwm as window manager and it has non encrypted boot with an encrypted root only file system, so only two partitions. I use startx with no login manager. The snapshot built fine and i can boot it to the splash screen and choose the very top most menu item, after it finishes the boot process it goes into a loop when trying to startx or autologin to X. Maybe im missing some package or setting in my system to make the iso startx?
I usually just use rsync to backup but thought this refractasnapshot might be a good alternative.
edit: may have narrowed down the culprit, unsure. Does refracta snapshot just use an autologin feature or rely on user settings like .xinitrc ?
if .xinitrc i use a bin script called startdwm so .xinitrc doesnt have exec dwm
the script is located in ~/bin
contents =
#!/bin/sh
while true; do
# Log stderror to a file
dwm 2> ~/.dwm.log
# No error logging
#dwm >/dev/null 2>&1
done
as head on a stick mentions getting rid of some of the foreign software might help.
a few suggestions in place of smplayer and etcher you could use the smplayer that is already in the stable repos and use gnome-multi-writer in place of etcher.
sudo apt install gnome-multi-writer
sudo apt install smplayer
not sure what you could use in place of teamviewer or signal, they seem to be personal choice or maybe needed for work.
Yeah not sure what to make of that .xsession-errors file, lot going on there. Wicd doesnt stand out in it though.
maybe have a look in session and startup and add to application autostart if its not there, log out and log back in again.
also do you have other systemtray icons showing, like volume etc..?
See here for help: https://docs.xfce.org/xfce/xfce4-session/preferences
FYI, see here to learn more about the xfce4 desktop: https://docs.xfce.org/
no need to use sudo.
try this if indeed you have that file in the home directory.
cat ~/.xsession-errors > x-errors.txt
Now you should have a file called x-errors.txt in the home directory, open the file with your editor (should be mousepad) and copy and past the contents in your post.
and the tray icon still does not show up?
maybe post the contents here of ~/.xsession-errors
My favorite lefty or leftist leaning independant youtuber Jimmy Dore.
Capitol Stormed by Protestors! Trump's Twitter Suspended!
https://www.youtube.com/watch?v=suo7bZiDZU8
read between the lines people.
Hi pootler, sounds as though you have the default installation of devuan which i think is xfce4 and should have wicd as the network manager. I cant really help here as i dont use either, i prefer non gtk programs to run the wifi adapter like wpa_supplicant.
Hopefully someone will chime in here for you and get that icon back.
Before i go though, bring up a terminal and type the following and post the output.
wicd-client --tray
Dutch_Master wrote:I'll just re-iterate myself then:
Dutch_Master wrote:"Freedom of speech" doesn't mean you can say absolutely anything, anywhere, anytime. Your "freedom of speech" ends where it encroaches on freedoms of others. Disagreeing is fine, as long as it remains respectful and civil. These principles of civilisation have been trampled by certain groups and individuals in the past and exactly that is now being addressed.
Take particular note of that first sentence, then contemplate on the 2nd. That's the core of civilisation in a nutshell.
Kind of hard to be civil when people are just straight up in denial about things that are facts...
That being said, I might have been too harsh.
I just really, detest cult like thinking akin to trumplicans, fascists, neo nazis and denialists...
At some point people who have team mentality, should abandon their team... when your side threatens violence like trumplicans do, its time to eject. If you know what I mean... or to put it more simply... escape that sinking ship before you go under.
;<)
So are you saying all those millions of people who voted for trump in the usa are akin to fascists and neo nazis?
edit: oh and of course the democrats are shining beacons of peace and harmony!
dice wrote:the underlying message is quite evident.
Not for me, would you mind explaining your opinion further? TIA.
It just seems to me that with these giant platforms like mozilla,twitter and facebook, that one can be branded evil white nazi supremacists when in fact the opposite could be true and without evidence to contrary they post heresay as in the mozilla article and elsewhere in the mainstream media.
the rampant use of the internet to foment violence and hate, and reinforce white supremacy is about more than any one personality. Donald Trump is certainly not the first politician to exploit the architecture of the internet in this way
^ The article needs to back that up in regards to trumps twitters imo.
From what ive read and seen so far it looked very staged this so called "insurrection". A real coup would have involved storming the building with weopens and a clear objective, the way it looked from what they show on the mainstream media was a bunch of usefull idiots being useful idiots. I do agree free speech has its limits but if only twitter and facebook and the rest lived up to that on a daily basis.
the underlying message is quite evident. so much for freedom of speech, goodbye firefox.
https://blog.mozilla.org/blog/2021/01/0 … atforming/
We need more than deplatforming
Mitchell Baker January 8, 2021
There is no question that social media played a role in the siege and take-over of the US Capitol on January 6.Since then there has been significant focus on the deplatforming of President Donald Trump. By all means the question of when to deplatform a head of state is a critical one, among many that must be addressed. When should platforms make these decisions? Is that decision-making power theirs alone?
But as reprehensible as the actions of Donald Trump are, the rampant use of the internet to foment violence and hate, and reinforce white supremacy is about more than any one personality. Donald Trump is certainly not the first politician to exploit the architecture of the internet in this way, and he won’t be the last. We need solutions that don’t start after untold damage has been done.
Changing these dangerous dynamics requires more than just the temporary silencing or permanent removal of bad actors from social media platforms.
Additional precise and specific actions must also be taken:
Reveal who is paying for advertisements, how much they are paying and who is being targeted.
Commit to meaningful transparency of platform algorithms so we know how and what content is being amplified, to whom, and the associated impact.
Turn on by default the tools to amplify factual voices over disinformation.
Work with independent researchers to facilitate in-depth studies of the platforms’ impact on people and our societies, and what we can do to improve things.
These are actions the platforms can and should commit to today. The answer is not to do away with the internet, but to build a better one that can withstand and gird against these types of challenges. This is how we can begin to do that.
imo, under debian i would prefer mksh over ksh93 and ksh2020. I use openbsd and their version of the ksh shell works on openbsd system very well.
You should try to frame your questions a bit better otherwise its all just guess work.
1. how did you install devuan?
2. what wifi manager you are using ? (example, wicd)
3. what desktop environment or window manager you are using ? (example, xfce4)
welcome to linux and devuan.
I did a little test on a temp install, deleted both /etc/os-release and /usr/lib/os-release.
Im not sure what applications would rely on these files but below link says it could break a link in a chroot or initrd environment if the symlink to them is absolute and not relative.
Ive updated initramfs updated-grub and rebooted, im yet to try a chroot but ive not seen any adverse effects thus far.
I'm not opposed to learning SystemD commands, but it seems like a lot of work for --- what, exactly?
That it is, have a read of the below link from suckless.org in regards to systemD.
"there's money in them thar hills!"
" black gold, texas tea! "
dice wrote:zapper im from Oz and it is similar to the US in regards to intelligentsia and the bourgeois. Im no fan of the brand but everynow and then he has half decent vids. More to the point though the video was for the most part concerned with invasive anti privacy software and roll out in the workplaces be it work from home or in the workplace itself and the bosses and assholes who like to implement this shit for muh productivity. Im strictly against being monitored, massive invasion of privacy.
Yes, but I can't help but think that it , the surveillance state starts under the rule of law, and the private sector takes it to the limit and then the gubbamnt taps into their systems under the guise of Public Safety.
yes it goes hand in hand, but i cant help but think that corporate greed comes into play first then pitched to the .gov to amend the law of the land in their favor. Its a win win situation for both sides, has been ever since 9/11, just ramping it up more and more each decade.
@ golinux, sage words!
@siva, spot on.
zapper im from Oz and it is similar to the US in regards to intelligentsia and the bourgeois. Im no fan of the brand but everynow and then he has half decent vids. More to the point though the video was for the most part concerned with invasive anti privacy software and roll out in the workplaces be it work from home or in the workplace itself and the bosses and assholes who like to implement this shit for muh productivity. Im strictly against being monitored, massive invasion of privacy.
Is the pandemic being used to create a surveillance state?
Say what you will about russel brand, this video is on point.
https://www.youtube.com/watch?v=MMFylHz8RF4
The pandemic has taken surveillance of workers to the next level – but with existing data showing that working from home already achieved better productivity, could there be other motives?
just an fyi, i would treat apparmor on a case by case basis. When im not using openbsd i use firejail profiles.
As this person says in below link, most profiles are ubuntu based.
https://github.com/cryptofuture/apparmor-profiles
and ive read one should maybe only use firejail or apparmor, not both together.
ToxicExMachina wrote:Flatpak is also SystemD-exclusive package manager.
Nope: https://pkgs.alpinelinux.org/packages?n … ranch=edge
And it's spelled "systemd" FFS...
why does this trigger you so?
When people spell it that way it always makes me think of that manga/anime cartoon initial D
Thought this might be an interesting subject topic. List notable command line or gui programs that are unique to you.
Just came across datamash, this program is really unique and powerful.
https://www.gnu.org/software/datamash/
example:
This one liner gives the mean or average of the 4 integers presented by awk from sensors (lm_sensors) command then rounds down to a factor of 1 decimal place to give the the stdout of 00.0 or in my case the temperature average of 51.5 etc.
sensors | awk '/Core/ {print substr($3, 2, length($3)-6)}' | datamash -R 1 mean 1