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

-4
votes
1answer
32 views

bat file to create a list of folders in the current folder

Lets say I have a folder c:\myfolder in Windows7. Also, there is a file source.txt that contains a list of relative paths such as \myfolder\bat\ \abc\123\jjj \xyz\ and so on I would like to run a ...
-2
votes
2answers
1k views

Set up Ubuntu FTP with root access to whole server

I've been trying to set up Ubuntu 12.10 with FTP to give the A user access to read/write any file on the server. I understand some people discourage root access for this, but at this stage I am more ...
1
vote
2answers
64 views

Should I sudo as root or use a public key [duplicate]

I have read a few times to disable root login and sudo as root using another user. But is using a public key as good if not better security?
7
votes
4answers
5k views

Ubuntu - can non-root user run process in chroot jail?

Is it possible for a non-root user to run a chroot process on Ubuntu?
1
vote
1answer
23 views

I am able to login to my server using WHM but when I SSH to a wheel group account I am unable to su to root

I have been having a problem over the last week or so executing an su - from a wheel group user account. I can log into WHM with the root password, but when I su - I get: [xxxxx@server public_html]$ ...
0
votes
1answer
39 views

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 ...
2
votes
4answers
54 views

Changing the root password

What are the implications of changing the root password? Is there anything that will be affected? I'm using a private shared SSH key - I assume I do not need to change this as it is not tied to the ...
-1
votes
2answers
37 views

How to allow all clients access to remote MySQL server? [closed]

So I followed this guide to gain remote access to a MySQL server for my laptop. However, my IP changes and I want to be able to access the server outside my network. How can I allow any client IP ...
2
votes
1answer
1k views

Changing non-root user passwords from root (if you don't know the old password?) [closed]

Hey, so I created a user, and he has been sshing in and doing a lot of stuff, but he forgot his password - is there any way for me to change his password without knowing it?
0
votes
3answers
6k views

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 ...
0
votes
3answers
566 views

root + crontab : permission denied [duplicate]

I'm using Debian 6, all patched up, but when I try to access crontab as root, I just get a permission denied: root@server:~# crontab -e -bash: /usr/bin/crontab: Permission denied Please note this ...
1
vote
5answers
2k views

Can't login using ssh as root

I am trying to virtualize an old linux server, and the PtoV software requires a password login as root via ssh. However, the root login is being prevented with a "Permission Denied" error on the ...
12
votes
11answers
7k views

Best way to go about changing a root password on 3000+ Solaris, AIX, and Linux servers?

Long story short: Big old corporation, lots of UNIX/Linux servers. I inherited responsibility for a bunch of scripts that that left a few years ago. One of them was a script that would be run every ...
0
votes
1answer
46 views

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

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 * * * ...
-2
votes
1answer
164 views

Why I am not able to ssh as root?

I am two servers A and B under the same firewall. I can login from server A to B using root account but I cannot login from B to A. My ssh keys are properly configured but I am not able to figure our ...
17
votes
8answers
5k views

Should we disable the root user?

Should we remove the root password, disable remote login and basically require adminstrators to use sudo to perform administrative actions?
4
votes
8answers
1k views

protecting my files from root

In a remote box, my files are 700-chmoded, but I'm worried that root may be reading them. Is there a way to add another layer of protection to avoid that, perhaps by encrypting them, but allowing ...
0
votes
1answer
99 views

Postfix relay for gmail sending as root

I've configured postfix to relay gmail (google apps) but the emails are sending as root@mydomain instead of admin@mydomain as (I believe) I've configured. I think the config is ok because I'm not ...
0
votes
1answer
74 views

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

.pgpass other system user as in file

i have a working script with a working .pgpass file. Now i want to run the script as root with the same(copy) .pgpass file. I copied the file in the $HOME directory from root. And changed permission ...
0
votes
1answer
42 views

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 ...
-1
votes
3answers
164 views

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 ...
41
votes
3answers
3k views

nice sudo or sudo nice?

is there any difference between running an intensive task over sudo with the following commands?: nice sudo [intensive command here] sudo nice [intensive command here] BTW this is for Linux 3.x.
0
votes
1answer
192 views

Extend root logical volume for VM with Oracle Linux of VMWare

Please make me sure did I wrong thing, or not. I'm resizing the root partition which is under the LVM. This server is a VMWare's virtual machine with Oracle Linux. I'm using this article: ...
0
votes
1answer
131 views

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 ...
2
votes
4answers
5k 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
1answer
739 views

NFS Share with root for anonuid / anongid

I've exported a share from my server and set anonuid and anongid to be 0 (root). However, when I mount the share on the client, it doesn't appear my settings are working as I'm getting permission ...
13
votes
7answers
17k views

How do I disable root login in Ubuntu?

a while ago I gave root a password so I could log in as root and get some stuff done. Now I want to disable root login to tighten security, since I'm going to be exposing my serve to the internet. ...
2
votes
1answer
2k views

Ansible ssh as user and execute has root (expect like)

I have to administer an important number of hosts where there is only one user able to access from SSH (let's call him foo) and then have to login as root to execute privilegied commands. Foo user ...
0
votes
0answers
180 views

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

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

chowned root directory recursive [duplicate]

accidently I did "chown -R www-data:www-data /" (I wanted to chown current directory). Is the only good way now to set the system up again from beginning? waaaah -.- Thanks
3
votes
0answers
197 views

Kerberos, .k5login and sudo

Background: I am using a Debian 7 system which I have integrated with an LDAP+Kerberos system using libnss-ldap, libpam-krb5 and nscd. I have modified sudoers to permit an LDAP group the right to sudo ...
0
votes
1answer
105 views

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 ...
2
votes
1answer
602 views

Permission denied for root to change inotify max_user_watches, how solve this?

As root in a CentOs 6.4 server I got this error in an application: Fri May 16 01:45:23 2014 Error: Terminating since out of inotify watches. Consider increasing /proc/sys/fs/inotify/max_user_watches ...
0
votes
1answer
238 views

Setting enviromental variables for login shells under root account in FreeBSD

I am currently in the process of configuring Open Grid Scheduler in FreeBSD. As part of this process I need to set the environmental variableSGE_ROOTas root. To do this I have been experimenting with ...
1
vote
3answers
93 views

What's the best way to mitigate NFS and sudo?

Quick background: We have 40 workstations running Linux. NFS is used extensively for bulk data storage and home directories. This allows users to roam freely will relatively transparent file ...
2
votes
1answer
638 views

How do I “sudo -i” specific command

I need to run important_script.sh as with sudo -i without password. If I have in sudoers: apache ALL = (root) NOPASSWD: /blah/important_script.sh and run "sudo /blah/important_script.sh" I can ...
2
votes
1answer
125 views

How to recover root password?

I have a FreeBSD box which I forgot the root password to. I do have physical access, so I can reboot the box if I need to. How do I reset my password?
1
vote
1answer
61 views

How to change protected config files via web/php interface?

I'm looking for way to modify configuration file that resides below /etc directory via web (in particular case PHP) interface. While it's not a problem to read (if you set up file permissions ...
4
votes
3answers
263 views

FreeIPA: prevent local root accessing user accounts

So after asking this question, I've been test-driving FreeIPA as a central authentication source. Managing access to multiple linux system One problem I ran into is that if a user is given local root ...
-3
votes
1answer
169 views

www-data root permission is a vulnerable on server? [closed]

Is a vulnerable on server If I give root permission www-data user that uses apache, because needed to add users in Linux through web interface?
0
votes
0answers
1k views

ProFTPd unable to seteuid

i'm trying to figure out this problem: 2014-04-07 14:00:58,628 srv proftpd[10143] srv (pfsense.localdomain[192.168.0.1]): FTP session opened. 2014-04-07 14:01:13,779 srv proftpd[10091] srv ...
0
votes
1answer
345 views

Linux server is usually refusing root ssh/sftp connections; how to fix?

A friend approached me about what appeared initially to be a Wordpress issue on a blog hosted on a Linux box; Wordpress was not upgrading XYZ at first attempt. I tried to get some diagnostics and ...
-4
votes
1answer
71 views

User with “root” privileges can't actually see all folders [closed]

There is this problem with my newly created user with "root" privilages in my web server Ubuntu LTS 12.04 . I follow the rule: adduser newuser usermod -a -G sudo newuser then I add in visudo # ...
0
votes
0answers
78 views

Solaris /etc/xdg/autostart root script pam_authenticate conversion failure

Im running SOL11.1 and have setup a desktop file to run in /etc/xdg/autostart this calls a main script which calls other scripts. The regular commands work. But the sudo commands doesn't seem to ...
0
votes
2answers
901 views

Root is not allowed to grant privileges on a MySQL database

I have a MySQL database and I am not able to grant permissions to users on newly created databases when logging in as root. mysql> create database test1; Query OK, 1 row affected (0.00 sec) ...
3
votes
3answers
6k views

Linux: Send email to another address instead of /var/spool/mail/root

I manage a micro linux server on Amazon EC2. Occasionally I get email sent to the root account and if I'm logged in, I'll get the notice: You have new mail in /var/spool/mail/root How do I get ...
0
votes
1answer
45 views

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 ...