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...
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.
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...
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...
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.
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...
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...
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...
I want to stream my online video to Youtube.
The most appropriate software is OBS Studio.
Under the user obs does not work:
info: audio settings reset:
samples per sec: 44100
The X11 connection...
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.
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...
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...
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...
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
g@crayon2:~ % scanimage...
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...
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...
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...