Hello.
After that several users told me that I shouldn't work on my FreeBSD installation as root,I've got the decision to login as a low level user,even if my sensible informations aren't on the FreeBSD disk,so I should not care. But I care,because security is always important. Firstly because I'm learning and I should keep it in mind from the beginning,and second because it's not right to give the bad example to the other people. So,ok. I want to login as a low level user,but unfortunately at the moment I have some problems to fix before to be able to do that. I tried to fix them by myself,but the solutions that I found are partially. So,I'm here again to ask help. The problems that I need to fix are the following :
1) when I tried to login to FreeBSD inserting my low level username and password,I got the error : "https://forums.freebsd.org/threads/kld_list-i915kms-does-not-stick-on-etc-rc-conf-at-all.81445/#post-524306)". That's because usually,when I login as root,I start Xorg with the following script :
what's the problem ? that as root,I can do "kldload i195kms" without problems. but as a low level user,I can't do it. If I do it,the error becomes :
kldload: can't load i915kms: Operation not permitted
this error persists even if I have added the low level user marietto inside the wheel group with this command :
2) after having logged in as root,I tried to becomes low level user with :
and then I tried to show the content of one of my disks (in the example below it is formatted with ntfs and the disk is mounted within the /etc/fstab file) and as u can see,from the terminal I can see what's inside it :
but if I want to use thunar,this is what happens :
As u can imagine,if I don't fix these problems asap,I can't login with the low level account,but only as root,because as root I don't have such problems.
After that several users told me that I shouldn't work on my FreeBSD installation as root,I've got the decision to login as a low level user,even if my sensible informations aren't on the FreeBSD disk,so I should not care. But I care,because security is always important. Firstly because I'm learning and I should keep it in mind from the beginning,and second because it's not right to give the bad example to the other people. So,ok. I want to login as a low level user,but unfortunately at the moment I have some problems to fix before to be able to do that. I tried to fix them by myself,but the solutions that I found are partially. So,I'm here again to ask help. The problems that I need to fix are the following :
1) when I tried to login to FreeBSD inserting my low level username and password,I got the error : "https://forums.freebsd.org/threads/kld_list-i915kms-does-not-stick-on-etc-rc-conf-at-all.81445/#post-524306)". That's because usually,when I login as root,I start Xorg with the following script :
Code:
kldload i915kms
startx
what's the problem ? that as root,I can do "kldload i195kms" without problems. but as a low level user,I can't do it. If I do it,the error becomes :
kldload: can't load i915kms: Operation not permitted
this error persists even if I have added the low level user marietto inside the wheel group with this command :
Code:
root@marietto:/ # pw group mod -n wheel -m marietto
2) after having logged in as root,I tried to becomes low level user with :
Code:
root@marietto:~ # su - marietto
and then I tried to show the content of one of my disks (in the example below it is formatted with ntfs and the disk is mounted within the /etc/fstab file) and as u can see,from the terminal I can see what's inside it :
Code:
marietto@marietto:/mnt $ ls da0p1
$RECYCLE.BIN Desktop Serie-TV
Animazioni Domotica System Volume Information
Backups Downloads vms
CG OS
CG2 OurStories
but if I want to use thunar,this is what happens :
Code:
marietto@marietto:/mnt $ thunar
thunar: Failed to initialize Xfconf: can't launch automatically D-Bus without $DISPLAY X11
Unable to init server: can't connect to 127.0.0.1: Connection refused
(thunar:1874): Gtk-WARNING **: 13:33:52.019: cannot open display:
As u can imagine,if I don't fix these problems asap,I can't login with the low level account,but only as root,because as root I don't have such problems.