root is the default administrative account for Unix-based systems. It is comparable to the Administrator account of a Windows system.

learn more… | top users | synonyms

1
vote
3answers
156 views

Security advices - ssh root access login

I'd like to have some advices on my case: I have a server with a public ip address. I have a root user with password. I have turn off (in sshd) PermitRootlogin = No Questions/tips/advices: How can ...
5
votes
3answers
203 views

Where I work everybody logs in as root

Where I work now, I am forced to use the root account just like everybody else there does. There are no other users. Not even in the DBs. My seniors explained to me that this is done for convenience's ...
0
votes
4answers
139 views

Linux utility to monitor for stupid / likely ill-advised commands

sudoing adds a little bit of a roadblock to doing potentially stupid and dangerous things in the Linux shell, but it is a meager deterrent to newer Linux users. Still, many users login as root or have ...
0
votes
1answer
482 views

mount cifs permission denied

Hi I have tried to mount with three ways for all of them I got the same error. 1) sudo chmod 777 /estore sudo mount –t cifs -o user=domain/username%MYPASSWORD,noserverino //domain /estore 2) sudo ...
1
vote
2answers
813 views

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 ...
1
vote
1answer
262 views

Allow normal user to run PHP script as root using SUDO

How can I allow a normal user on Ubuntu to run php scripts? sudo php /path/to/script/script.php Basically the script needs to be run as root but the users does not have root privileges on their ...
-1
votes
1answer
616 views

Exim spaming errors to log and doesn't send mail to several domains

I have a server with CentOS 5.6 installed on it. It has working mail server of exim + dovecot + mysql + roundcube. My log file /var/log/exim/main.log is already of 3 Gb and continues to grow. It ...
9
votes
4answers
1k views

root full Linux. No free blocks

df -h reports the '/' partition to be 100% full. While running du -hs * on each directory of this partition shows there is still lot of space. tune2efs which reports just one block to be free. Ran ...
2
votes
5answers
9k views

MySQL root problems (access denied for root user)

I've having some very weird issues with my MySQL (5.5) root user. I'm trying to allow an external host to access the root user, but it seems as though my root@localhost does not have "GRANT OPTION" to ...
0
votes
0answers
160 views

root account only working in recovery mode

So I did a full system update/upgrade on my debian squeeze last night. After this was done, I did a reboot. When proptet with a terminal login screen I tried to login as root, but this failed several ...
2
votes
2answers
4k views

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 ...
0
votes
1answer
181 views

Default user not in sudoers file

In Debian 6, right after my installation. I try to run a command as root, only to find out that my account isn't in the sudoers file. This is from the main user account that is set up under ...
0
votes
2answers
625 views

CentOS lost Root Access

For some reason I cannot access my root user via SSH. It displays the error on login: could not open session. However I happen to have another user account that is a normal non-sudo user. Is there ...
0
votes
1answer
88 views

copying files using non-root rsync

I have a primary server and a secondary server and I wish to copy files over from the primary to the secondary using rsync. I have mounted the primary disk onto the secondary using NFS and am copying ...
0
votes
2answers
533 views

Nginx location and root

I think I have a trivial problem with nginx but I can't see it. I have the following file tree: /data/www > main/ >> html/ >>>...some files (A) > wiki/ >>...some files ...
0
votes
2answers
233 views

Logout root after tmux detach

I'm running tmux on my servers and when configuring things I like to just su into root and take care of things. Is there a possibilty to log out root automatically after I detach the tmux session?
0
votes
3answers
496 views

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 ...
0
votes
1answer
497 views

Prevent setuid from dropping setcap user privileges (VirtualBox)

I'm trying to run a web server from a headless, NAT'd VirtualBox guest. VirtualBox needs to bind to port 80, but the only way to do so is by running VirtualBox as root. To get around this, I tried ...
1
vote
1answer
1k views

Root password change using usermod

I'm trying to implement an automated root password change for our Linux boxes. I'm generating a hash in the script since users will be able to see the contents of the script. I found that you can ...
2
votes
2answers
589 views

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 ...
1
vote
1answer
1k views

Root SSH login works, but su/sudo to root does not work

Im recently working on a clients box, and SSH into the box with root credentials work but when i try to su or sudo to root user it states incorrect password. I tried changed the root password and know ...
1
vote
2answers
2k views

CentoOS SSH Access

I'm executed this commands with root user i'm on a CentOS 6.3 server: #useradd newuser #passwd newuser #visudo then I added this line at end of file: AllowUsers newuser #service sshd restart ...
-1
votes
1answer
345 views

Is running Supervisor as root a bad idea for security reasons? [closed]

I want to have a flexible setup (will need to run Redis, Celery, and uWSGI), but I'm wondering whether or not it's a bad idea to run Supervisor as root (the default), and if so, why it is bad.
1
vote
1answer
55 views

Root being controlled by ARD

I run an educational lab of 20 iMacs, all running Mac OS 10.7.5(11G63) with ARD version 3.6.2. My server and all of the iMacs run Lion. I seem to have crossed something and now my root user is being ...
0
votes
1answer
216 views

Getting permission denied error

On my Media Temple DV 4.0 server I am getting permission denied errors: -bash: cd: httpdocs: Permission denied If I switch from my login user to sudo (sudo su) or switch to root using su-, I can ...
0
votes
1answer
401 views

Recommended way to start supervisord from non-root bash script?

I have set up supervisor to monitor some processes. Because I deploy via remote script, I need a way to send supervisor start/stop commands without sudo. I'm not sure how to do this though. Is there ...
3
votes
2answers
5k views

Lost Linux root password - Recovery mode and init=/bin/bash fail

I lost/forgot the root password to a server sitting beside me and am trying to reset it. I would rather not have to wipe and re-install or use a Live CD (server is running Ubuntu Server 12.04). What ...
0
votes
3answers
90 views

“root@host.domain.com” e-mails [closed]

I constantly receive e-mails from my "root@host.domain.com" and it is flooding my gmail inbox with 8-10 e-mails a day. Could I know what is the convention or common practice that most people use to ...
1
vote
2answers
2k views

SUDO YUM not found

I am running a Amazon ec2 instance on amazon's linux. Whenever I run anything sudo yum it give me this: sudo: yum: command not found ec2-user$ rpm -qf /usr/bin/yum yum-3.2.29-30.24.amzn1.noarch ...
-3
votes
4answers
469 views

ps -u root shows that httpd is running as root - is this safe?

In the command line if I do this: ps -u root | less one of the lines is this 19974 ? 00:00:01 httpd is this safe, to have the main httpd process as running as root? if i do this : 'ps ...
5
votes
5answers
1k views

Linux - How to manage the password of root?

We have just deployed a couple of Linux server. Each sysadmin will have his own account on the server (i.e.: jsmith), and will connect using SSH with a certificate which will be put into the ...
3
votes
3answers
1k views

What's the safest way to kick off a root-level process via cgi on an Apache server?

The problem: I have a script that runs periodically via a cron job as root, but I want to give people a way to kick it off asynchronously too, via a webpage. (The script will be written to ensure it ...
0
votes
1answer
91 views

restore root account on ubuntu running in EC2 [duplicate]

Possible Duplicate: root locked out of EC2 How can I restore root account that is running on EC2 Ubuntu platform? In the /etc/passwd the root username got replaced with something like ...
-1
votes
2answers
277 views

Root SSH/SFTP Always 777

I have an Ubuntu serve that I'm connecting to via SFTP (and also an SSHFS mount locally). When I move a file to the server via the mount I need it to have permissions set to 777. I've added umask 000 ...
-2
votes
1answer
153 views

Mysql on ubuntu root password dissapeared somehow? Password no more required for mysql root? [duplicate]

Possible Duplicate: Mysql loses its root password I am sure i have mysql server installed on localhost with ubuntu with root user and required password. I have continued my daily developing ...
0
votes
1answer
169 views

Change default root user with a new one on Ubuntu Server

I have a VPS, until now I used the default root user for SSH access and everything. For security reasons I'd like to use a different user for root, terminal access and sudo operations. So I created ...
1
vote
1answer
491 views

Cannot login as root to centos server

I used to login as ssh root@servip with a password authentication into my CentOS 6 server. I am not sure if what I have done has caused this, but while trying to get over my problem of accessing ...
1
vote
2answers
403 views

Run binary automatically as root

I have root access. How can I let a general user with little permissions run a binary file as root without a password? I tried giving it root:wheel with chown, but that did not let a general user do ...
0
votes
2answers
334 views

Launching FPM pool as superuser / reflecting root access

I'm building a NAS control application with PHP, that can be only accessed from the local network. I'll start it off with that PHP-FPM does not allow to launch it's pools with user root, and I have ...
-1
votes
2answers
123 views

Only Readable by Root

I'm installing SSL certificate on a VPS server. I need to make it only readable by the root. How can I do this?
3
votes
3answers
1k views

Check if root ca certificate is installed

We are having a custom CA for our local-domains. The Root CA certificate is installed on all the corporate machines by default, but sometimes it happens that we have someone here who doesn't have it ...
1
vote
2answers
2k views

Why can't I change the mode of /proc/sys/kernel/pty/max even when I am root?

Since pty is limited, I want to modify the content of /proc/sys/kernel/pty/max. The original value in max is 4096, and now I want to modify it to 10000. [root@home pty]# pwd /proc/sys/kernel/pty ...
2
votes
2answers
304 views

Resetting root password on Fedora Core 3 - serial cable access only

A little background: We have an old rackmount server running a customised version of Fedora, manufactured by a company called Navaho. The server is a TeamCAT, running some proprietary rubbish called ...
-3
votes
4answers
125 views

Why is it recommended to work in Linux with a non-root user? [duplicate]

Possible Duplicate: What's wrong with always being root? The very first rule I've been taught about Linux is never to use root as your main user and I was wondering why
3
votes
1answer
4k views

Bind 9.7.3 not forwarding to ISP DNS server (only local resolving successful)

I have a bind DNS where I have installed SAMBA and made it a BDC. I plan to promote it to PDC and take out the Win2003 AD server to replace it with Samba. Bind is installed on that same server as ...
0
votes
4answers
191 views

I run as root user in a subdir this command: mv /*

In a subdir (/var/www/html/subdir) by error I run as root: mv /* . It move ALL files under the working directory, commands as ls, mv, cat, not work, inclusive run by ./bin/ls. Keyboard and Mouse was ...
3
votes
3answers
702 views

To root or not to root?

Please see the (somewhat) related topic here. My day-to-day tasks on a linux machine require superuser access since I would be (re)starting services, monitoring the system, (un)installing stuff etc. ...
5
votes
3answers
2k views

Why does 'pkill /?' kill my SSH session?

After running the following commands (bash) as root via SSH: pkill --help pkill -h pkill /? The first two commands didn't provide me any information, that's why ran the third (kinda ...
2
votes
3answers
86 views

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 ...
0
votes
2answers
386 views

Change user password within user with root account

I'm logged into (ssh) my ubuntu server into a non-root user account. I can not directly ssh into the server as root, because I disabled it. I have the root password. I need to change the user password ...