Hello.I am working on a VPS running centos 6.4.I am able to ssh as root into the machine, but it appears I really don't have root permissions everywhere.For instance, i... [by kephra]
We have a Django web app that can create users and create directories in a secure directory that needs to be only writeable by root.
here are my permissions in /dev/sndcrw-rw----+ 1 root audio 116, 13 Jan 27 14:57 controlC0
crw-rw----+ 1 root audio 116, 20 Jan 27 14:57 controlC1
crw-rw----+ 1 root audio 116, 23 Jan 27 14:57 controlC2
crw-rw----+ 1 root audio 116, 26 Jan 27 20:32 controlC3
crw-rw----+ 1 root audio 116, 2 Jan 27 14:57 hwC0D0
crw-rw----+ 1 root audio 116, 19 Jan 27 14:57 hwC1D0
crw-rw----+ 1 root audio 116
I am a Linux newbie and I have a very basic question.
I am running a debian server with OSSEC.
The 'adb root' command's description says that it restarts the adbd with root permissions.
I tried it on my phone (Note 2 Android 4.3), which is not rooted, and it didn't work.
My friend did a chmod -R 777 /var by mistake.
I'm just learning about permissions and excuse me if I may have gone astray.
I'm a beginner.
I'm trying to give my user root permissions, So I edited sudo like this:
black ALL=(ALL) ALL
"black" is my username.
But I still don't have root permissions, and when I open the terminal, it shows me:
Another thing. In the Administration > Users and Groups, my user (black) primary group is root.
My Linux is the latest version of CentOS.
I insert a usb key; it does not mount auto;
I sudo blkid and mount it as:
sudo mount /dev/sdb1 /media
there, we have:
drwxr-xr-x 2 root root 4.0K Jan 1 1970 .
drwxr-xr-x 21 root root 4.0K May 11 17:54 ..
-rwxr-xr-x 1 root root 627K May 22 22:02 <filename1.txt>
-rwxr-xr-x 1 root root 2.1M May 22 22:50 <filename2.txt>
-rwxr-xr-x 1 root root 100 May 23 13:21 <fil