-
_xor
Hmm, what would happen if one were to set /dev/null as the home dir in /etc/passwd? (instead of /nonexistent)
-
RhodiumToad
probbly nothing good
-
RhodiumToad
some users use /var/empty, which exists but is immutably empty
-
_xor
Is /nonexistent a historical artifact or something? I mean if there's nothing special about it and it's just assumed to not exist, I wonder if there's a potential attack vector there.
-
RhodiumToad
oh, creating it would cause all kinds of fun
-
_xor
Like if /nonexistent is set as some users home dir, but an attacker manages to somehow create one through some exploit in some service...well, then I do know there are a bunch of accounts with that set as the default, so that would potentially open up those accounts to use as part of a further exploit?
-
_xor
Ah yeah ok makes snese.
-
_xor
Oh dear lord
-
» _xor is grepped /etc/passwd for nonexistent
-
RhodiumToad
I think /var/empty (or if it really needs to not exist, /var/empty/nonexistent ) makes rather more sense
-
RhodiumToad
though even with /var/empty, you're trusting that the schg flag is properly set, and root can still turn that off unless you're running with an elevated securelevel
-
_xor
Hmm, well at least it's a child of the door directory, so I guess an exec running under one of those accounts would need to have suid set to be able to create one (easily anyway).
-
_xor
*root
-
_xor
Just theoretically, could it be set to a specific dev device instead that basically just logs reads/writes to it and returns whatever the ENOEXIST error is for it?
-
RhodiumToad
you could probably rig devfs to do something of the sort
-
bjornn
i noticed that on freebsd, when i switch to root with doas it still keeps the users home directory as $HOME
-
parv
Does "doas" have "-" argument|option to do the "normal" login as "su -" does?
-
tercaL
"Installed packages to be UPGRADED: clamav: 1.1.0_1,1 -> 1.1.1,1" <- Yay!
-
tercaL
Cool news of the morning.
-
carlavilla
someone have experience with framework laptop and FreeBSD?
-
carlavilla
they just opened the purchases to Spain :)
-
vkarlsen
-
VimDiesel
Title: FreeBSD on the Framework Laptop | @fearedbliss
-
vkarlsen
-
VimDiesel
Title: Laptops/Framework_Laptop - FreeBSD Wiki
-
carlavilla
This machine is now on Linux. No further FreeBSD updates will be provided on this page. <<< :'(
-
carlavilla
vkarlsen: thanks, I'm gonna take a look
-
anandprabhu
Hi everyone, I setup a new FreeBSD 12 server using AWS Lightsail and while configuring the ssmtp by mistake changed the permissions of the $USER folder. How can I know the default permissions of the $USER folder and change it?
-
anandprabhu
Fixed it now. Thanks!
-
TommyC
anandprabhu: umask?
-
anandprabhu
TommyC - nope updated the user folder permissions using chmod
-
debdrup
Well, the skeleton file for sh in /usr/share/skel/dot.shrc includes a umask while it's commented out for csh (and therefore also tcsh), so it depends on what shell you set.
-
debdrup
umask(2) defines what that means.
-
blastwave
I see opensbi 1.3.1 at freshports maintained by mhorne but I do not see a clear u-boot package that makes sense. For qemu do I still need u-boot for RISC-V ?
-
concrete_houses
I have 3 usb spinning disk attached how do I get iostat to show the work they are doing?
-
concrete_houses
it seems to not show da1 da2
-
RhodiumToad
gstat -p is better
-
vkarlsen
Have you tried specifying them as parameters to iostat?
-
concrete_houses
gstat -p is nicer
-
concrete_houses
let me try
-
concrete_houses
iostat -d da0 -d da1 -d da2 4 works
-
checkpoint
hello
-
» checkpoint 's bit amazed by more than 600 users sitting on this channel all silent at once
-
accelerat0r
more bugs searching and less chachara
-
CyberCr33p
Hello. Does FreeBSD needs a kernel patch for AMD Inception like linux? Or the only way is to wait for the microcode update from AMD?
-
kenrap
CyberCr33p: I'm assuming you reported this just now?
bugs.freebsd.org/bugzilla/show_bug.cgi?id=273238
-
VimDiesel
Title: 273238 – cpu-microcode-amd: AMD "Inception" security vulnerability fix for Zen 3 and Zen 4 processors
-
CyberCr33p
kenrap yes I did. But this is only for zen 3 & 4. I have some zen 2 servers too.
-
CyberCr33p
kenrap I guess AMD will release microcode for zen 2 soon
-
CyberCr33p
kenrap I found this part in an article: "AMD's Zen 3 and Zen 4 CPUs are affected by what is known as the 'Inception' vulnerability. Like many recent attacks, this one is a side channel attack that can lead to the exposure of otherwise secure data. AMD says its Zen 1 and Zen 2 generations are unaffected."
-
CyberCr33p
kenrap so it looks like no update is needed for zen 2
-
dvl
checkpoint: You're new to IRC? I think not. But silence is better than spouting off topic.
-
kenrap
CyberCr33p: Hopefully AMD will release those microcode updates. Right now there is a lot of hustle from the FreeBSD developers in getting the stable/14 branch ready and they've been working extremely hard to refactor and cleanup the src.