Tagged Questions
3
votes
1answer
90 views
Is there a way to find out how many instances of the root user are logged into a Linux machine?
We have a handful of users that login to our Linux virtual machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are ...
2
votes
3answers
370 views
Another account with same uid as root gets prompted to set new password for root, not itself
After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened.
My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with ...
3
votes
2answers
291 views
Start Vim as my user with root privileges
I have my custom Vim files in ~/.vim and settings in ~/.vimrc. However, sometimes I have to edit some files in /etc and such.
If I start Vim like this:
$ sudo vim /etc/rc.conf
I lose my config ...
1
vote
1answer
1k views
switching from user to root and revers (freebsd)
i want to make some modificaciones with root and then with my user, in fact i want to install sudo and he give me the error in the first step:
cd /usr/ports/security/sudo
make install clean
...
2
votes
1answer
109 views
How do I stop Apache from running as root?
New on the job, small place, and the security stuff just landed on my desk. I was hired to be a front-end developer. Happy to learn new things, but never had to do sysadmin stuff before.
I started ...
7
votes
1answer
417 views
Lightweight virtualization on Linux with user isolation
What Linux-on-Linux virtualization technologies provide user isolation? Specifically, I want root in the virtual machine not to have any privilege on the host.
This was not the case for LXC, but was ...
4
votes
4answers
731 views
How sudo/root-ness detection works
Programs that make changes system-wide require sudo unless I am already the root user.
Now, the question is: how exactly does the system figure out that I am (not) root?
Does it:
Check to see if ...
6
votes
7answers
957 views
Is it bad practice to set root's shell to something other than the default?
Once a friend of mine (who is an experienced Unix/Linux user) told me that setting root's shell to something other than sh (i.e bash or zsh) might create problems, because some script might assume ...
10
votes
11answers
903 views
Concern about logging in as root overrated?
For personal linux on my personal notebooks, I've usually set my environment to autologin as root even under X or lower runlevels. I've found my workflow is very pleasant and fast, without any ...