Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
Posts
3
Comments
265
Joined
3 yr. ago

  • That's the thing though, when you install Samba it does create an empty config file at \etc\samba\smb.conf, or at least I've never created one

  • And like I said

    this command didn't really do what I wanted it to do then

    I just want to do something like find {package name} | grep "config.conf" or something like that. I normally know what the program is called, I just don't know where it is located.

  • Here is the entire output I get when I get that command.

    username@server:~$ dpkg -L samba /usr/share/doc/samba/examples /usr/share/doc/samba/examples/LDAP /usr/share/doc/samba/examples/LDAP/README /usr/share/doc/samba/examples/LDAP/get_next_oid /usr/share/doc/samba/examples/LDAP/ol-schema-migrate.pl /usr/share/doc/samba/examples/LDAP/samba-nds.schema /usr/share/doc/samba/examples/LDAP/samba-schema-FDS.ldif /usr/share/doc/samba/examples/LDAP/samba-schema-netscapeds5.x.README /usr/share/doc/samba/examples/LDAP/samba-schema.IBMSecureWay /usr/share/doc/samba/examples/LDAP/samba.ldif /usr/share/doc/samba/examples/LDAP/samba.schema /usr/share/doc/samba/examples/LDAP/samba.schema.at.IBM-DS /usr/share/doc/samba/examples/LDAP/samba.schema.oc.IBM-DS /usr/share/doc/samba/examples/logon /usr/share/doc/samba/examples/logon/genlogon /usr/share/doc/samba/examples/logon/genlogon/genlogon.pl /usr/share/doc/samba/examples/logon/mklogon /usr/share/doc/samba/examples/logon/mklogon/mklogon.conf /usr/share/doc/samba/examples/logon/mklogon/mklogon.pl /usr/share/doc/samba/examples/logon/ntlogon /usr/share/doc/samba/examples/logon/ntlogon/README /usr/share/doc/samba/examples/logon/ntlogon/ntlogon.conf /usr/share/doc/samba/examples/logon/ntlogon/ntlogon.py /usr/share/doc/samba/examples/printing /usr/share/doc/samba/examples/printing/VampireDriversFunctions /usr/share/doc/samba/examples/printing/prtpub.c /usr/share/doc/samba/examples/printing/readme.prtpub /usr/share/doc/samba/examples/printing/smbprint.sysv /usr/share/lintian /usr/share/lintian/overrides /usr/share/lintian/overrides/samba /usr/share/man /usr/share/man/man1 /usr/share/man/man1/log2pcap.1.gz /usr/share/man/man1/mvxattr.1.gz /usr/share/man/man1/oLschema2ldif.1.gz /usr/share/man/man1/profiles.1.gz /usr/share/man/man1/sharesec.1.gz /usr/share/man/man1/smbcontrol.1.gz /usr/share/man/man1/smbstatus.1.gz /usr/share/man/man8 /usr/share/man/man8/eventlogadm.8.gz /usr/share/man/man8/nmbd.8.gz /usr/share/man/man8/pdbedit.8.gz /usr/share/man/man8/samba-bgqd.8.gz /usr/share/man/man8/samba-gpupdate.8.gz /usr/share/man/man8/samba.8.gz /usr/share/man/man8/samba_downgrade_db.8.gz /usr/share/man/man8/smbd.8.gz /usr/share/samba /usr/share/samba/admx /usr/share/samba/admx/GNOME_Settings.admx /usr/share/samba/admx/en-US /usr/share/samba/admx/en-US/GNOME_Settings.adml /usr/share/samba/admx/en-US/samba.adml /usr/share/samba/admx/ru-RU /usr/share/samba/admx/ru-RU/GNOME_Settings.adml /usr/share/samba/admx/samba.admx /usr/share/samba/mdssvc /usr/share/samba/mdssvc/elasticsearch_mappings.json /usr/share/samba/update-apparmor-samba-profile /var /var/lib /var/lib/samba /var/lib/samba/printers /var/lib/samba/printers/COLOR /var/lib/samba/printers/IA64 /var/lib/samba/printers/W32ALPHA /var/lib/samba/printers/W32MIPS /var/lib/samba/printers/W32PPC /var/lib/samba/printers/W32X86 /var/lib/samba/printers/WIN40 /var/lib/samba/printers/x64 /usr/share/bug/samba/presubj /usr/share/bug/samba/script

    Now, if I grep those commands, I get these outputs

    username@server:~$ dpkg -S samba | grep "smb.conf" samba-common: /usr/share/samba/smb.conf samba-common: /usr/share/doc/samba-common/examples/smb.conf.default python3-samba: /usr/lib/python3/dist-packages/samba/gp/gp_smb_conf_ext.py

    username@server:~$ dpkg -L samba | grep "smb.conf" username@server:~$

    And these are copy and pasted straight from my terminal.

  • Oh I see, this command didn't really do what I wanted it to do then. I just wanted to be able to see the locations of any files associated with a program. If I knew the file path I could just find them haha

  • No error or anything, but it just doesn't have the /etc/samba/smb.conf file. Just doesn't have it.

    dpkg -S samba does find /usr/share/samba/smb.conf which isn't the right file either.

  • I just tried this with Samba (so dpkg -L samba and dpkg -S samba, and I also tried adding grep "smb.conf" and running it with sudo) and I was unable to find the share config file.

    It's located under /etc/samba/smb.conf but that command was returning a path under my local user. This is on Ubuntu

  • Do you take it to the shop for oil changes then? I check my dipstick every time?

  • To be fair i would consider a glitch to be closer to a ghost causing it than a lazy developer.

    I consider a "bug" to be something caused by the code (bad error handling, bad logic, etc) and a "glitch" to be something more random or environmental

  • I understand the practical limitations of privacy

    No, I just understand that when I am in public or in a businesses private property I could and often am subject to video recording. It's super super common and I've kind of just accepted it.

    You can complain about the state of society or whatever but that's our current situation.

  • See, useful source. Also notice how it isn't a random social media post.

  • There are two reasons people complain about Nvidia drivers on Linux. The first is because they are proprietary, which doesn't matter for anyone except turbo nerds.

    But Nvidia drivers used to be pretty bad on Linux. But I genuinely don't think I've had a driver crash since I installed my 2070 back in like 2019. I've upgraded to a 3080ti and I still haven't had any issues. I have a 4k/120hz HDR monitor and don't have any issues with that either.

  • Fun fact, ELDs require GPS. It's easy to find public information. There is also this web page which goes into more details about the "why" we have to have ELDs installed in trucks.

    And the cell service is to allow the actual device to communicate back to the parent. At my company we use Samsara and Motive.

    We do not use any AI features because we don't need them but I have talked to guys at other offices that do use it. Largely it's because of insurance. You can get crazy discounts on insurance for running something with the AI tracking. There are also some AI programs that optimize routing but those are """AI""" features not necessarily AI.

  • No its more

    This thing is not owned by you and is required by the federal government. Please dont damage our very expensive hardware

    But yeah blow it up to an unreasonable level and anything sounds crazy.

  • I understand the practical limitations of privacy. But as the IT admin i am also the one who manages the cameras and access to them so that helps.

  • I appreciate you defending me, but I did say I was director of IT so unfortunately I am management. But it wasn't me deciding to install this stuff on our fleet, it was the federal government.

  • Hey so it's actually the federal department of transportation that decides we need super invasive tracking! And they decided that after a ton of accidents directly caused by drivers not paying attention and working crazy hours.

    I also don't want to pay or manage this crap but here we are.

  • And that's completely understandable.

    But I know, at least in our case, it's just there for insurance purposes in case something happens. Which, thankfully nothing has.

  • I like how you ignored the part that actually upsets me about this.

    Don't fucking damage company property

  • Its an office space we lease. I am not sure who originally installed them as they were there when we moved in.

    We do manage them and retain the recordings though.