Questions tagged [root]

root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

548 questions
0
votes
1 answer

Default user not in sudoers file

In Debian 6, right after my installation. I try to run a command as root, only to find out that my account isn't in the sudoers file. This is from the main user account that is set up under installation. I have install Debian 6 as a virtual machine…
jab
  • 107
  • 2
0
votes
2 answers

CentOS lost Root Access

For some reason I cannot access my root user via SSH. It displays the error on login: could not open session. However I happen to have another user account that is a normal non-sudo user. Is there any way I can run a su root command or anything to…
Alex
  • 3
  • 2
0
votes
1 answer

copying files using non-root rsync

I have a primary server and a secondary server and I wish to copy files over from the primary to the secondary using rsync. I have mounted the primary disk onto the secondary using NFS and am copying data pertaining to multiple users at the primary…
user44468
0
votes
2 answers

Nginx location and root

I think I have a trivial problem with nginx but I can't see it. I have the following file tree: /data/www > main/ >> html/ >>>...some files (A) > wiki/ >>...some files (B) Here is my config: server { listen 80; server_name troll; …
GlinesMome
  • 199
  • 2
  • 11
0
votes
3 answers

Logout root after tmux detach

I'm running tmux on my servers and when configuring things I like to just su into root and take care of things. Is there a possibilty to log out root automatically after I detach the tmux session?
thpetrus
  • 67
  • 1
  • 1
  • 10
0
votes
1 answer

Prevent setuid from dropping setcap user privileges (VirtualBox)

I'm trying to run a web server from a headless, NAT'd VirtualBox guest. VirtualBox needs to bind to port 80, but the only way to do so is by running VirtualBox as root. To get around this, I tried using setcap, but the VirtualBox process is SUID…
xikkub
  • 149
  • 1
  • 9
0
votes
1 answer

Is running Supervisor as root a bad idea for security reasons?

I want to have a flexible setup (will need to run Redis, Celery, and uWSGI), but I'm wondering whether or not it's a bad idea to run Supervisor as root (the default), and if so, why it is bad.
orokusaki
  • 2,763
  • 4
  • 32
  • 43
0
votes
1 answer

Getting permission denied error

On my Media Temple DV 4.0 server I am getting permission denied errors: -bash: cd: httpdocs: Permission denied If I switch from my login user to sudo (sudo su) or switch to root using su-, I can access the directory with any issue. This is just my…
JM4
  • 1,144
  • 3
  • 18
  • 29
0
votes
3 answers

"root@host.domain.com" e-mails

I constantly receive e-mails from my "root@host.domain.com" and it is flooding my gmail inbox with 8-10 e-mails a day. Could I know what is the convention or common practice that most people use to handle such e-mails? Do they set-up another e-mail…
0
votes
1 answer

restore root account on ubuntu running in EC2

Possible Duplicate: root locked out of EC2 How can I restore root account that is running on EC2 Ubuntu platform? In the /etc/passwd the root username got replaced with something like this - "text with space" Now I cannot log in using the root…
Sashi
  • 1
0
votes
1 answer

Change default root user with a new one on Ubuntu Server

I have a VPS, until now I used the default root user for SSH access and everything. For security reasons I'd like to use a different user for root, terminal access and sudo operations. So I created another user, gave him the sudo and every other…
MultiformeIngegno
  • 1,687
  • 9
  • 26
  • 31
0
votes
2 answers

Launching FPM pool as superuser / reflecting root access

I'm building a NAS control application with PHP, that can be only accessed from the local network. I'll start it off with that PHP-FPM does not allow to launch it's pools with user root, and I have not found a way to force it. Yes, yes, running PHP…
tomsseisums
  • 205
  • 1
  • 2
  • 10
0
votes
4 answers

I run as root user in a subdir this command: mv /*

In a subdir (/var/www/html/subdir) by error I run as root: mv /* . It move ALL files under the working directory, commands as ls, mv, cat, not work, inclusive run by ./bin/ls. Keyboard and Mouse was not detected (I did work from ssh). My OS is…
Jose Nobile
  • 461
  • 1
  • 5
  • 14
0
votes
2 answers

Limited root access

I have a rather unique situation that I need to come up with a solution for. We have servers by which a remote team requires having root access to our servers to perform certain jobs. We need to still allow them root access, but deny them from the…
Skittles
  • 421
  • 1
  • 7
  • 16
0
votes
2 answers

how to check if my root server was compromised

My provider sent me an email stating that my root server seems to have been misused for attacking other systems. How do I check if this is true and my system is compromised? I was told I have 4 days to fix the problem and all the info I was supplied…