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

root accepts any password : how to change to a real password?

I have an old Linux system which can be accessed via a public IP address. When you connect to the SSH port you can login as root with any password. The only restriction is that the password needs to be at least 1 character long. In the (far) past,…
Hrqls
  • 133
  • 2
  • 8
0
votes
1 answer

How do I find out when a MySQL root password was last changed?

I have looked for solutions to this. I am able to change it, but I need to find out when it was last done and preferably also seeing who was logged in when it was done. Need proof for a security breach. Thanks in advance.
Jeff Kranenburg
  • 149
  • 1
  • 1
  • 10
0
votes
2 answers

Monitor root commands issued by users

I tried to log the commands issued by the system administrators in our organization and its output using sudo plus the log_output directive as follows on the visudo file Defaults env_reset Defaults …
0
votes
1 answer

Automysqlbackup - dumped files have wrong permissions

This question has been askewd here. But it was not answered. I just got a 3rd server and on all 3 servers I use Automysqlbackup script to create MySQL backups. I do it with cronjob: 52 04 * * * /home/backups/backup.sh >/dev/null 2>&1 Dumped and…
tfegc
  • 221
  • 1
  • 5
  • 10
0
votes
1 answer

Single user mode boot stuck

I have an old Ubuntu box with an unknown root password. It boots fine in regular mode, but it gets stuck when booting to single user mode: For searchability, the last few lines are: Begin: Running /scripts/init-bottom ... done. [5.525592] Adding…
Leo
  • 983
  • 7
  • 21
  • 39
0
votes
1 answer

Root overwrite permission to user

Our developers WinSCP/Putty and have a dev user on our web-server. The site directory they are working on is owned by apache, that restricts them to overwrite files through FTP/SFTP as dev. I have added the dev user to the apache group, yet it…
nicoX
  • 611
  • 9
  • 18
0
votes
1 answer

How to distribute root files with expect?

I've recently learned how great expect is, now that I'm suddenly responsible for managing 150 VMs. I've been using it to distribute config files to remote servers, but there's got to be a better way than what I'm doing. Mainly what I do is things…
dirtside
  • 1,551
  • 5
  • 17
  • 22
0
votes
4 answers

Security policy: servers without root/administrator password

I am considering running public web and application servers with blank root/Administrator passwords, and I'm wondering whether this might be a bad policy. I see several advantages of having no password. "No password" can't be brute-forced, lost,…
Jakob
  • 25
  • 2
0
votes
2 answers

Apache2's root dir problem

I have apache2 setup on my local machine with virtualhosts. In my hosts file, i have this: 127.0.1.1 mysite 'mysite' is a site, in which i have php scripts that use include('/path/to/whatever'); If i type 'mysite' in my browser's url, everything…
sqram
  • 147
  • 1
  • 2
  • 6
0
votes
0 answers

EC2 instance with partitions for /boot as ext4 and root / as lvm possible?

I've been playing about with this for a few days now. I haven't managed to find an example of someone running an EC2 instance with the root volume partitioned to have /boot on ext4 (or 3 or 2) and then / on lvm. So far I've managed to create an…
Cosmicnet
  • 111
  • 2
0
votes
0 answers

UserDir is disabled yet server still responds differently to /~root

Using CentOS 6.5 I am trying to completely disable User Dir functionality so that /~ will not work at all. My httpd.config UserDir disabled and #UserDir public_html And also commented out #LoadModule userdir_module modules/mod_userdir.so but…
0
votes
1 answer

unable to open KVM when trying to VNC

I am trying to open a KVM session after connecting to the remote host through VNC Scenario: Server: 192.184.148.52 having a VNC server running at 192.184.148.52:2 with XYZ username and has a KVM running/ needs to crea Host: 192.184.148.22 has a…
0
votes
1 answer

Local file server needs root access to change permissions

The previous developers set up a local Linux file server (FreeNAS 8.1) and while we can log in through the username they provided we do not have root access so we can not change permissions or do anything outside of the user they gave us. Is there…
Davicus
  • 9
  • 1
0
votes
1 answer

Why can a local root turn into any LDAP user?

I know this has been asked here before, but I am not satisfied with the answers and don't know if it's ok to revive and hijack an older question. We have workstations that authenticate users on an LDAP server. However, the local root user can su…
0
votes
1 answer

sudo su in screen -- security issue?

Just logged back into a server and reconnected to an existing screen using screen -R. I had completely forgotten that I'd used sudo su - earlier and had not exited afterwards, so when I reconnected via screen I was back in as root! Is there any way…
Jordan Reiter
  • 1,290
  • 4
  • 20
  • 40