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

How to allow standard, non-admin, Active Directory users access to Docker without making them sudoers?

I have a compute server with users that authenticate over AD. I want these users to be able to use Docker without making them sudoers. The official advice is to add users to the docker group, as "[w]hen the docker daemon starts, it makes the…
Louis Waweru
  • 755
  • 1
  • 9
  • 29
1
vote
1 answer

allow all users to execute a bash script as root

i want that my all users can run a bash script. But this bash script need to have root right, i want that this script is in read only and run with root right my bash script : #!/bin/bash /sbin/swapoff -a in my search i found solution but it not…
rori
  • 11
  • 2
1
vote
0 answers

su: cannot set groups: Operation not permitted

I'm trying to get root access for a user who is initially logged in from a console. I have root access from another method. User does not have a username, so sudo is not an option. Running su returns error "su: cannot set groups: Operation not…
Kidburla
  • 131
  • 3
  • 8
1
vote
1 answer

nginx is refusing connection after root password change

This is so strange. I am using digital ocean with serverpilot . I changed root password of the server and the site is down. root@niche-hunter:/# sudo service nginx-sp restart Job for nginx-sp.service failed because the control process exited with…
brainHax
  • 161
  • 1
  • 2
  • 7
1
vote
0 answers

LDAP and User root/sudo on local netboot ubuntu/debian machine

I'd like to create a debian/ubuntu pxe netboot image authenticating against ldap but I want give the user the power to install software on his local machine. In Windows I simply add a local admin account and give the user the according credentials,…
Harry
  • 111
  • 2
1
vote
2 answers

Mail when root logs in but not from local host

I followed these instructions How to Get Root and User SSH Login Email Alerts You have to add this code to .bashrc `echo 'ALERT - Root Shell Access (ServerName) on:' `date` `who` | mail -s "Alert: Root Access from `who | cut -d'(' -f2 | cut -d')'…
Sl33py
  • 155
  • 1
  • 3
  • 9
1
vote
3 answers

Log in to SSH without home directory Synology

I need a knight in shining armour.. go internet! I have a failed volume on my Synology NAS. In DSM6 they have 'removed' the root user. - the only user which doesn't have a home dir. To recover, we need to log into ssh. When we log in as admin, it…
tommylux
  • 11
  • 1
  • 3
1
vote
1 answer

MySQL - allow connection from remote machine as root user

When I installed MySQL server in Windows, there was an option "Allow root connection from remote machine". I checked that option and I had no probs when using it. I installed MySQL server in Ubuntu 9.04 using apt-get install. I can connect to the…
Senthil Kumar
  • 113
  • 1
  • 7
1
vote
2 answers

Permanent way to execurte a command for root on system startup in Mac OS

On Mac OS my CI server's build agent runs as root. I have messed with the ruby version on by defaul ruby -v reports version 2.0, while after eval "$(rbenv init -)" is being executed, I get a desired 2.4. If I were to set the eval "$(rbenv init -)"…
Maxim V. Pavlov
  • 663
  • 3
  • 11
  • 29
1
vote
1 answer

make shutdown / reboot warn on a shared server in case of user sessions or high load

Is there an easy way to warn an admin on shutdown, reboot, poweroff, halt, ... about: ongoing computations (high load, high disk io) open bash / zsh / ... terminal sessions other logged in users screen / tmux sessions I'm looking for a solution…
Jörn Hees
  • 123
  • 8
1
vote
2 answers

Cent OS unable to login after passwd

I tried to change password of centos root using passwd command. But accidentally I pressed enter key without entering any password. Now I can't login to server, neither using old password nor without password. Is there any way around this without…
crashNburn
  • 13
  • 3
1
vote
1 answer

Why Apache can run a command and root cannot?

I have a server-side script executed by Apache running as www-data. The script runs fine on the server when called remotely (http://example.com/script.sh). I am trying to run the same script on the same server as root, impersonificating www-data. It…
WoJ
  • 3,607
  • 9
  • 49
  • 79
1
vote
1 answer

Allowing a single regular user of an AD domain to run a specific software as administrator

this is my first post here so i hope i won't do mistakes going OOT. I manage a local network running a WinSrv 2012 as DC. I have my gpo setted having 2 main groups, employees and superusers. The employees have just regular privileges, the super…
1
vote
2 answers

Overlayroot: How to fully protect a Linux system against changes?

I would like to protect a system with overlayroot, so everything that is done - even by a user with root permission - will not survive a reboot. I found several guides how to do that, but none of them tells me how safe it is and if there are tricks…
Stefan
  • 11
  • 3
1
vote
1 answer

Arch Linux install without root password

Is it possible to install (and later maintain) Arch Linux (or some of its derivatives) without ever setting root password - using only user account and sudo? The same way it's done in Ubuntu and many others. To me this seems like obvious security…
god
  • 232
  • 3
  • 10