root

  1. victrafaa

    qemu How to apply the root password entered in Virtualizor during the creation/reinstallation of the FreeBSD VM

    I'm creating FreeBSD 13 templates for use with Virtualizor (KVM). I've already installed and activated qemu-guest-agent, and changing the root password works normally when the VM is online. The problem is: If I change the root password in the control panel while the VM is powered off, and then...
  2. C

    Solved Run as root inside a jail?

    I'm using Tailscale on the router for remote access to hosts inside the LAN, but I would also like to protect a jailed instance of vaultwarden with a reverse proxy in the jail. I've used Caddy on the other OS, and I really like the fact that it manages the certs, but the installer notes for...
  3. rwv37

    Any reasons anymore to NOT change the default root shell to one that's not built-in?

    I know that for a long time, the standard advice for the default root shell was "don't change it" (which I learned many years ago when I got myself into a mess after having changed it ?). Is that still the case? I seem to remember that the issue was that if you changed it to, say...
  4. First_Law_of_Unix

    How to automatically execute commands that require "su" privileges during user login.

    Hello, I couldn't find any information from the web on how to make a shell script which can automatically execute commands that require "su" privileges during user login. I have read that I can store the shell script at "/etc/profile.d/" location which did not exist by default and I had to...
  5. I

    Why logging into KDE as standard user can operate a root command?

    I’d to ask a question: why logging into KDE as a standard user (ie. not part of wheel group) is able to successfully execute “poweroff”? To clarify my question: If I boot up and login via command prompt (ie. not a desktop environment) or I ssh into the machine as a standard user, I cannot...
  6. F

    [INFO] How to avoid from (su: Sorry) error or "message"

    THERE IS THE COMMAND: sudo pw group mod wheel -m !username_here!
  7. 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...
  8. 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...
  9. 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...
  10. 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.
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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.
  16. 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...
  17. 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...
  18. R

    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...
  19. 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...
  20. 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...
Back
Top