1. K

    issue with terminal, cannot use clear

    I recently deleted some old packages I do not use anymore(ghc and steam utils) via pkg. For some reason, I cannot use the clear command on my user account. The weird thing is that, technically these 2 actions(deleting old packages and not being able to use a command) are unrelated. However, I...
  2. M

    Upgrade to 12.2, ZFS bootcode, and EFI text console issues

    After upgrading from FreeBSD 12.1 to 12.2-RELEASE, my machine boots and runs fine, but it no longer displays a full native resolution text console on a 17" monitor. I get the giant default 80x25 display instead. Running "vidcontrol -i mode" returns no information at all. This is a 2015 vintage...
  3. 0

    ZFS Mounting ZFS Block device || Resetting VM password

    Hello everyone, I am using FreeBSD as a host system and as a guest inside a bhyve-VM. Unfortunately I do no longer have access to the root password of the guest. (Wrote it on a piece of paper and left it in a different country. Due to Corona I cannot go there atm.) The virtual machine is based...
  4. M

    Previlige state of Xorg and Urxvt

    I'm not sure if this is an issue for security but I was wondering if is it possible to run urxvt and/or xorg as an unpreviliged user that isn't root. Starting urxvt opens an another instance by root killing of which effects nothing at all.
  5. JazzSinatra

    Accidentally run chown -R user /*

    I accidentally did run chown -R my_username /* instead of chown -R my_username ./*, so how do I undo this? Can I simply run chown -R root /* and then chown -R my_username /home/my_username? EDIT: The installation is pretty fresh. I installed this system couple of days ago and it doesn't have...
  6. Petr Fischer

    Solved How to mount FreeBSD 12 GELI encrypted ZFS root manually?

    Hello! I have FreeBSD 12 installation with GELI encrypted ZFS root partition (created automatically from the installer). But now, my HW died and I need to import and mount the root filesystem as external disk. How can I mount this GELI encrypted ZFS root partition manually please? Note: In the...
  7. vermaden

    HOWTO: FreeBSD Desktop - Part 2.1 - Install FreeBSD 12

    I would like to share HOWTO in 𝐅𝐫𝐞𝐞𝐁𝐒𝐃 𝐃𝐞𝐬𝐤𝐭𝐨𝐩 series about fonts and frameworks. 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗗𝗲𝘀𝗸𝘁𝗼𝗽 - 𝗣𝗮𝗿𝘁 𝟮.𝟭 - 𝗜𝗻𝘀𝘁𝗮𝗹𝗹 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝟭𝟮 You may also like earlier articles in the series. Part 1 – Simplified Boot...
  8. DenisVS

    OBS Studio does not work under user

    Hi! I want to stream my online video to Youtube. The most appropriate software is OBS Studio. multimedia/obs-studio Under the user obs does not work: info: --------------------------------- info: audio settings reset: samples per sec: 44100 speakers: 2 The X11 connection...
  9. daBee

    Exit to user from SU in bash script

    Is there a way I can initiate a script as root, then exit to my normal admin user (sudoers) to accomplish further tasks as the user? I tried exit but the script stopped completely. Things like RVM like to be installed using the user.
  10. Bill Evans at Mariposa

    Perl Perl script to run as root (generalized)

    I would like to be able to run certain Perl scripts on my system as root, even though the "user" calling them is not running as root. For each script I can write a C wrapper, setting setuid root for that wrapper; the wrapper would change the UID to 0 and then call the Perl script, which itself...
  11. daruffneck2

    Solved root or userland for cron job

    May someone can help me out. I want to use a script everytime my machine boots up. Execute before even the splash screen pops up. As I am the single user, I could set it as root in the crontab /etc/crontab following the handbook, so it would act for each other user. If I do so, do I set it as a...
  12. R

    C/C++ setreuid() returns "operation not permitted" even it was sudo'ed

    Hello, I was testing one of my software on FreeBSD ,Where in the software i've been trying to replace the Real/Effective UID and GID of the process using below two functions setregid(),setreuid(). But these both functions return -1 as a result(when i got the errno to print it ssys "operations...
  13. amiramix

    Grant user permission to epjitsu (Fujitsu ScanSnap S1100)

    On root: root@crayon2:/var/log # scanimage -L device `v4l:/dev/video1' is a Noname Creative WebCam Live! Motion virtual device device `v4l:/dev/video0' is a Noname Mouse Scanner virtual device device `epjitsu:libusb:003:003' is a FUJITSU ScanSnap S1100 scanner On user: g@crayon2:~ % scanimage...
  14. amiramix

    Solved Access permisions to cd0 for user

    I am trying to sort out permissions to device cd0 so that sysutils/k3b-kde4 can see the device. For now when it starts it shows error: No optical drive found. When k3b is started as root is sees the device properly. I have all the permissions set up and I can mount cd0 as the user...
  15. N

    How do you run commands as the root user?

    Hello I read other posts concerning the root but still cannot seem to run /etc/ttys as the root user. I was sure I had logged into the system console as the root, because I was using the .vmdk config file which I think comes only with the root user account at the start. But when I run...
  16. master-richie

    root zfs install on FreeBSD 9.2 with gpt - clarity needed

    I have a G5 HP server I decided to repurpose as a local Drush / Drupal development machine. I decided against using hardware raid considering the age of the server hardware vs. the brand new 1tb SAS drives I just installed - in case the server hard fails I want my drives to be portable to...