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

phpMyAdmin - can’t connect - invalid setings - ever since I added a root password - locked out

I run XAMPP, a few days back i had set up a password for the root password through phpmyadmin I am not able to access phpMyAdmin ever since that moment I followed help on this link but everything seems fine there (in config.inc.php). I even tried…
OrangeRind
  • 127
  • 1
  • 1
  • 7
1
vote
1 answer

File write error while uploading via FileZilla

I have a user xyz which is able to create files in a directory, but when I try to write something on the newly created file, it fails. The file has proper read-write permissions to the owner i.e. xyz. When I try to edit the same file via root, it…
Prashant Singh
  • 125
  • 1
  • 8
1
vote
1 answer

Accidentally deleted symlink libc.so.6 in CentOS 6.4. How to get sudo privilege to re-create it?

I accidentally deleted the symbol link /lib64/libc.so.6 -> /lib64/libc-2.12.so with $ sudo rm libc.so.6 Then I can not use anything including ls command. The error appears for any command I type ls: error while loading shared libraries: libc.so.6:…
kangshiyin
  • 113
  • 1
  • 6
1
vote
1 answer

How to run sudo without Sudo installed

I do not have sudo installed on my machine, but I have a third party program which runs as different user other than root and tries to execute sudo command. Is there a way to enable this program to run sudo ? I have logged in as root and created…
Poorna
  • 161
  • 1
  • 2
  • 9
1
vote
3 answers

How to reset root password CentOS (domU) hosted in Xen?

Need help on resetting root password of a CentOS which is a guess OS (domU) in XEN. I already tried to get to grub but it doesn't display or maybe using a different grub (pygrub). Thanks in advance.
1
vote
3 answers

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 I delete password of root and access this server…
Jerry
  • 61
  • 1
  • 1
  • 3
1
vote
1 answer

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 machines. I have seen articles that indicate that you…
SamCulley
  • 105
  • 4
  • 14
1
vote
1 answer

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 pass a hash with the usermod utility. However,…
kernelpanic
  • 1,276
  • 1
  • 10
  • 30
1
vote
1 answer

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 im typing it correctly. Thanks for help
Kwazii
  • 85
  • 1
  • 2
  • 8
1
vote
2 answers

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 #exit Now, I can't access server with deployer or root…
Rodrigo
  • 179
  • 3
  • 12
1
vote
1 answer

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 controlled with the same preferences I have setup…
Fuhton
  • 11
  • 1
1
vote
2 answers

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 ec2-user$ which yum /usr/bin/yum which yum while in…
ThomasReggi
  • 621
  • 2
  • 10
  • 25
1
vote
1 answer

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 webmin remotely I followed the following tutorial…
perpetual_dream
  • 113
  • 1
  • 6
1
vote
2 answers

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 what I wanted.
Atticus
  • 19
  • 1
  • 2
1
vote
2 answers

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 [root@home pty]# ls -lh total 0 -rw-r--r-- 1 root root…
giantforest
  • 239
  • 1
  • 4
  • 15