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

Recovering From userdel root

A student at my school, whilst logged in as root, committed userdel -r root We quickly came to the consensus that he needed to reinstall (not too big a burden in this environment). But is this situation, where the root account has actually been…
Brighid McDonnell
  • 389
  • 1
  • 8
  • 20
2
votes
2 answers

How to run tomcat6 on ubuntu as root?

I've got an existing software package that runs on Ubuntu that uses a chroot jail and so needs to be run as root. I want to exec this from a java web application running within Tomcat6 on Ubuntu, so presumably I have to run Tomcat6 as root instead…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
2
votes
3 answers

How to run a script in Ubuntu via SSH as superuser?

So I have a script that needs to be executed remotely as root. This isn't a problem with most Linux distros since they have a root account. But since Ubuntu does not, executing anything as root requires a 2-step process of entering the account…
Irinotecan
  • 145
  • 1
  • 6
2
votes
1 answer

Is the root user able to administer screen for other users?

We're trying to rewrite a draconian screen session killer for users who leave their screen sessions up for an inordinate amount of time and have in some way or other circumvented our session timeouts. The current method is to find the pid for screen…
Peter Turner
  • 2,178
  • 9
  • 33
  • 45
2
votes
3 answers

Any point in running containers as non-root on openshift

The openshift documentation reads : To further protect RHCOS systems in OpenShift Container Platform clusters, most containers, except those managing or monitoring the host system itself, should run as a non-root user. Dropping the privilege level…
bryan hunt
  • 63
  • 5
2
votes
1 answer

PermitRootLogin yes seems not to be working

I need to SFTP with my IDE, that's why I set PermitRootLogin yes in sshd_config file. But it's not working I still need to sudo after logging in with password. Here is my full settings file content: PermitRootLogin yes PasswordAuthentication…
realplay
  • 121
  • 1
  • 3
1
vote
1 answer

CentOS 7 move free space from home to root

I need to resize my CentOS 7 root on my mail server. I found this answer: https://serverfault.com/a/811124/213096 but I don't know if I can do it while server is running or do I have to stop it, run from live CD etc etc. I need fast and safe…
dzilupl
  • 11
  • 3
1
vote
1 answer

How is server root defined in this context?

I asked a question over at Information Security and received an interesting response which in part included the following: move them off the server root So in the context of moving uploaded files "off the server root" I'm not currently sure how to…
John
  • 134
  • 10
1
vote
1 answer

Drop packets with iptables for ssh login by user root

Is it possible to have iptables DROP any packets with user "root" so that the SSH daemon doesn't even have to waste cycles denying the login attempt? I already deny root login attempts in my ssh_config. But that still takes up resources to deny and…
J Roysdon
  • 141
  • 4
1
vote
1 answer

Is this user root or not

I see the following in /var/log/auth.log (system is current Ubuntu). myserver su[14993]: illegal option minimum_uid=1000 myserver su[14993]: Successful su for jeanbon by root myserver su[14993]: + ??? root:jeanbon myserver su[14993]:…
dargaud
  • 193
  • 1
  • 7
1
vote
1 answer

Can the Megaraid 2208 mirrored root disks be hot swapped?

I've inherited a Supermicro SMC2208 RAID. The root drive (on which the OS is installed) is two RAID1 mirrored Intel SSDSC2CW240A3 240GB drives ... one of which is reporting as bad. Controller ID: 0 VD is now DEGRADED VD 1 Event…
BurningKrome
  • 525
  • 2
  • 12
  • 22
1
vote
1 answer

'ALL=(ALL) NOPASSWD: ALL' not working

restricting root ssh access works perfect in centos 6 but using the same method fails on centos 7. what are we doing wrong? an interesting point is that in our centos 6s we have stated that only our defined user is permitted in…
Al. V
  • 11
  • 3
1
vote
1 answer

sudo: uid 1000 does not exist in the passwd file!

How can i restore my /etc/passwd file? I have access to it, but it's currently empty and I added this to the file, but I can't even SSH to the machine, I'm getting a "connection…
Kordonme
  • 125
  • 2
  • 8
1
vote
2 answers

Running single web app in server - why not using root?

I have one cloud server to host only one website (django + gunicorn + nginx), postgres database will be deployed to another cloud server. In this case should I create special user for my website? Seems like it's easier to use root instead, and it…
Antonio
  • 169
  • 1
  • 11
1
vote
1 answer

exim4 sending mail to root alias as bcc instead of to address?

I'm trying to configure exim4 to send all e-mail to my Gmail account (including e-mails to root). It's almost working, but my Gmail address is in the BCC field of the TO field. Here is a command I use to send a test message: echo 'Just testing' |…
SofaKng
  • 389
  • 1
  • 11
  • 18