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
2 answers

Make nginx be able to access all web files when not running as root

I currently have my server setup as follows A new linux user is created for every website The websites root folder will be owned by this user and has 700 or 500 nginx runs as root:root so it can access these files nginx passes PHP requests to a…
Not Available
  • 226
  • 1
  • 16
0
votes
4 answers

Obtaining root access to linux machines

Possible Duplicate: Lost Root and other user passwords I have a number of linux machines (debian and ubuntu) left from a former system administrator. There's no way to find out root passwords on those computers. How do I get root access without…
Alex
  • 2,357
  • 5
  • 32
  • 41
0
votes
1 answer

Grant root access without having grant access with mysql

In attempts to learn more about apache and mysql, I've been fiddling with my local environment. Fun times. Of course, this leads to my screwing things up. So, thanks for being there. Recently, I messed up a bit in mysql. I currently don't have a…
PJ.
  • 203
  • 1
  • 4
  • 10
0
votes
3 answers

All password with '$' inside (phpmyadmin) won't work [UTF-8 problem]

i set up a dedicaced server with a tutorial. I set in PHP : mbstring.language=UTF-8 mbstring.internal_encoding=UTF-8 mbstring.http_input=UTF-8 mbstring.http_output=UTF-8 mbstring.detect_order=auto But each time there is a $ in the password (i…
Tristan
  • 498
  • 2
  • 9
  • 27
0
votes
2 answers

tomcat6 on ubuntu fails when user set to root

I'm well aware that running tomcat6 is really bad from a security point of view - and opens the box it is running on to all kinds of security risks and attack vectors. That said: When I change the entry in the /etc/init.d/tomcat6…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
0
votes
2 answers

On Ubuntu, how to design a monitor to run a process when a file is written to a directory?

I want to run a process when a file is written to a directory on Ubuntu. I understand I can write a monitor to do this. (ie not an event based trigger but a 'monitor'). To implement this - other than writing a for loop of infinite duration in C…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
0
votes
3 answers

Is it dangerous to allow every user to run nmap as root?

At our university we have some computers in the "networking lab", that are configured to allow everybody to run nmap as root via /etc/sudoers. Could this be a security vulnerability?
Kim
  • 769
  • 1
  • 5
  • 12
0
votes
0 answers

Many files were changed to root as owner by GCP. Can't delete them!

Many files had their ownership changed to root in GCP and now I can't remove them. How do I change it back? GCP help is hard to come by. Thanks, -Marcos
0
votes
2 answers

root ssh access - what does this mean

I am wondering when hosts say they give you root access over ssh what does this mean? Does it mean that you can log in using only command line? Or can you use the gnome desktop (or whichever your preference) over vnc or some other remote…
Ke.
  • 241
  • 4
  • 13
0
votes
2 answers

Use original linux user bashrc also as root user

I extended the bashrc file of my linux user. This file contains extra aliases, functions, whatever is useful. It's synchronized with a playbook across our 100+ servers. When i'm working on linux I often escale to the sudo user. this is frustrating…
0
votes
1 answer

VMware ESXi 7.0 U3j Can't login via root after a few minutes

I can't login via root user at the moment . If I do a hardware reboot on the server , the problem is solved and I can login for just once before I'm locked out again after like 5 minutes . I have read similar topics and I have tried the following…
0
votes
1 answer

i am root but ufw status says 'command not found'

as simple user, first I pass root with command : su I am now root on Debian 10 buster. When I hit ufw status, I have 'command not found'. But it works with sudo ufw status When I use su -, the command is ok. Can someone explain me this problem /…
rach
  • 1
0
votes
0 answers

Unable to login as root user

[Ubuntu server] I was able to login to the server just fine for days. And now I cannot login with the root user with password and private key both are not working. Luckily I am currently logged in as the root user. Basically I logged in as the root…
0
votes
0 answers

Cannot edit journald.conf

I'm working with a embedded linux machine that was made with Buildroot. The default user is root and I would like to edit /etc/systemd/journald.conf to set the SystemMaxUse to prevent the log files from taking all the limited space. When I try to…
0
votes
1 answer

Why create a new user with sudo privilege when you are the only person manage the server?

Please share some true use cases of benefits when you are the only admin of manage VPSs, I'm just hosted my first WordPress site. A lot of guide I read online suggests creating a new user after update and upgrade for the fresh Linux OS. I found that…
Maxfield
  • 103
  • 2