root

  1. 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...
  2. 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...
  3. vermaden

    HOWTO: FreeBSD Desktop - Part 2.1 - Install FreeBSD 12

    I would like to share HOWTO in 𝐅𝐫𝐞𝐞𝐁𝐒𝐃 𝐃𝐞𝐬𝐤𝐭𝐨𝐩 series about fonts and frameworks. 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗗𝗲𝘀𝗸𝘁𝗼𝗽 - 𝗣𝗮𝗿𝘁 𝟮.𝟭 - 𝗜𝗻𝘀𝘁𝗮𝗹𝗹 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝟭𝟮 https://vermaden.wordpress.com/2018/11/20/freebsd-desktop-part-2-1-install-freebsd-12/ You may also like earlier articles in the series. Part 1 – Simplified Boot...
  4. 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...
  5. 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.
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
Top