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

program needs to be run as root by any user and can be located anywhere

I have some program called foo that needs root privileges when it executes. foo needs to be able to be run by any user and can be located at any path. The reason this program can be at any path is because our company is developing program foo and…
sandsaturn
  • 21
  • 1
2
votes
3 answers

Disabled root login for SSH in Centos 5.9, key login no longer working

I have a Centos 5.9 server which I have previously configured to access via SSH key login and this has been working fine for many months. I recently had to have an issue resolved remotely which required me re-enabling the root login temporarily.…
Rick Curran
  • 133
  • 7
2
votes
3 answers

root cannot access user's home folder shared via NFS

We have a local server that exports an NFS share, used as parent directory for Linux home folders in the network. The users authenticate via LDAP (running on the same server). Authentication works fine, and the home folders on the share also work…
Team AIGD
  • 23
  • 1
  • 1
  • 4
2
votes
0 answers

Root denied login if networking down (on NIS/YP environment)

My 70+ hosts network (mixed CentOS, Fedora) uses NIS/YP. If networking is working OK, then no major issues occur, normally a trouble-less operation. If connectivity is lost, either by a simple loose cable, or a major problem outside my reach, login…
David Ramirez
  • 407
  • 2
  • 4
  • 19
2
votes
1 answer

Do you need root access to fully backup a server?

I have an account on a server and I would like to automate backups onto another server, I disabled root logins for security. Do you need root access to fully backup a server?
Daniel
  • 23
  • 3
2
votes
1 answer

Disable root login for dropbear?

Linux noob here. How can I disable root login for dropbear? What I've done so far adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/default/dropbear (not working) adding DROPBEAR_EXTRA_ARGS="-w -g" into /etc/init.d/dropbear (not working too) Dropbear…
June
  • 23
  • 1
  • 1
  • 3
2
votes
1 answer

Timeout in locking /.Xauthority

I have google searched and everyone who has this problem has an error in locking /home/user/.Xauthority. The issue is that it is trying to lock /.Xauthority. Obviously there is no .Xauthority in /, and even if there was it would not be accessible…
network-tech
  • 21
  • 1
  • 2
2
votes
3 answers

automysqlbackup - dumped files permissions

I'm using automysqlbackup, here is the default cron entry created #!/bin/sh test -x /usr/sbin/automysqlbackup && /usr/sbin/automysqlbackup My files are stored here /var/cache/automysqlbackup I need to read them with my user but all the dumps are…
Pierre de LESPINAY
  • 370
  • 2
  • 6
  • 18
2
votes
3 answers

ssh root access denied after changing shell

after i tried to change my server shell, i cannot login as root anymore. First, i installed the z-shell (zsh) as root and then i wanted to change it to my default shell. Therefore i used "chsh". My fault was, that i typed in a wrong path. After…
tobias b.
  • 21
  • 1
  • 4
2
votes
3 answers

restrict root access for certain files or filesystems

I want to store files for my users on encrypted filesystems. Every user would have his own filesystem with his own key. The user is able to log in to the system and mount his filesystem. When they are mounted, even the root is not able to access…
2
votes
2 answers

How to execute (some) CGI commands as root

I want to put a simple CGI script in my APACHE server. I'd like to write it possibly in C (but also in PERL, if I want). The problem is that it must contain some lines that can be executed only by root (iptables for example), while webuser is the…
JustTrying
  • 239
  • 2
  • 5
  • 11
2
votes
2 answers

Running a program with root privilages in Ubuntu

How do I run a GUI program with root privileges from Ubuntu's Alt+F2 Run dialog?
Alex
  • 2,357
  • 5
  • 32
  • 41
2
votes
6 answers

How can an attacker gain root next time a compromised account does?

I was reading Ubuntu's documentation about root/sudo when I came across the following: Isn't sudo less secure than su? The basic security model is the same, and therefore these two systems share their primary weaknesses. Any user who uses su or…
Swoogan
  • 2,087
  • 1
  • 14
  • 21
2
votes
3 answers

Setting the server to look for index.php file by default

I am a web developer and I've requested our Sys-Admin to setup a server for my team that will be used as a development environment. The PHP is running as a CGI. When i try to open http://myaddress/ I receive 403 Forbidden. When I try to open…
2
votes
3 answers

Root only has read permission for /etc/ssh/sshd_config?

I'm trying to edit my /etc/ssh/sshd_config file as per these instructions to properly set up git on my Synology NAS: http://www.wonko.de/2010/04/set-up-git-on-synology-nas.html (step 6) However, when I tried to save the modified sshd_config file…
Jay
  • 191
  • 1
  • 2
  • 9