Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [root]

The name of the main administrative user commonly used in *nix based systems.

17
votes
2answers
1k views

Is PermitRootLogin based on UID or user name?

The man page states that PermitRootLogin Specifies whether root can log in using ssh(1). However, it is not clear if this check is based on the user name ("root") or the UID (0). What happens if ...
0
votes
1answer
63 views

Should I run as root in a contained environment?

The windows 10 anniversary update is out, and I wanted to try out the new bash integration. I used the 'quick setup' to make a root account with no password as the Ubuntu layer has no access to the ...
0
votes
1answer
996 views

Root password changes after I reboot my Raspberry Pi

I started installing stuff (using ssh) on my new Pi and noticed that my root password resets every time I reboot my Pi, so I have to connect to the Pi user and use sudo passwd again every single time ...
4
votes
3answers
26k views

Unable to lock the administration directory (/var/lib/dpkg/) error when trying to install unrar from the terminal in Ubuntu

I am getting this error when trying to install unrar unarchiver for .rar files from the terminal in Ubuntu. E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory) E: ...
0
votes
1answer
465 views

Centos7: passwordless SSH over ldap

in my company we have all servers Centos6/RedHat6, but now I was tasked to update it to Centos 7. I have created one C7 virtual machine and I have problem with passwordless access. It is als oworth to ...
0
votes
1answer
391 views

Reset root password on Ubuntu

I’ve been trying to wrap my head around this for a while. So I somehow managed to goof up my root password and now I can’t access my remote server, when I login. I however, have sudo access through ...
2
votes
0answers
239 views

Changed root password on Centos server. Afterwards I can't connect from SSH on my pc

I was able to connect to my centos server using ssh (PuTTy) normally. After I changed the root password of the VPS through my host's control panel I haven't been able to connect to my server via SSH ...
0
votes
0answers
4k views

Kali Linux User Name and Password

I Have Install kali linux in dual os with windows 10 , While installing kali I did't show any step for entering any username as well as password and now I have install kali successfully ... And now ...
0
votes
3answers
756 views

Admin needs root password

I recently installed it and since I am the only user the system asks me for root password if I want to install something or read any files. Always saying that I don't have permission to access. ...
0
votes
1answer
751 views

Not able to run fio bechmark as a root

I'm not able to run fio benchmark as a root user. Normal mode: Command 1: which fio Output 1: /usr/local/bin/fio Command 2: fio Output 2: No jobs(s) defined fio-2.12 fio [options] [job ...
0
votes
1answer
100 views

Run Wireshark without setuid OR capabilities

I want to run Wireshark so that I will have to type in my sudo password to run it, but I don't want to give the dumpcap binary special privileges (set-uid, capabilities, etc.). How can I do that ...
0
votes
1answer
287 views

How to install secure OpenSSH server on Ubuntu?

I want to install OpenSSH server on Ubuntu. How to do it? I need to do the following: Set up OpenSSH server Set up ssh public-private key pair for user Disable password login Enable root user Set up ...
4
votes
2answers
690 views

root crontab not executing

I'm setting up my Debian server to backup my databases with crontab, the mysqldump utility and gunzip. For some reason, my crontab lines appear to fail, especially the crucial one: 15 2 * * * /usr/...
0
votes
1answer
233 views

LaunchAgent has undesired root access

I am having a problem getting my LaunchAgent to run as a normal (not-root) user. Everything I've read implies this should be the default behavior. The expectation is that if you put the plist in /...
1
vote
1answer
324 views

Can not change permissions while root

I use Kali Linux and discovered the following "problem": root@kali:/proc/self# ls -l cmdline -r--r--r-- l root root 0 May 27 13:43 cmdline root@kali:/proc/self# chmod 744 cmdline chmod: changing ...
2
votes
2answers
1k views

Solaris T5120 How to reset firmware root password

I have this Solaris T5120 box bought used no HDD so there is no OS yet I was able to connect using Serial Console using HyperTerminal Default User/Password didn't work root changeme sunservice ...
0
votes
1answer
160 views

Unable to get sudo lecture working on CentOS 7 server

I'm trying to enable the sudo lecture every time someone executes sudo, but I can't seem to get it working at all. I found a similar question here, in which someone states that if you don't see any ...
0
votes
1answer
33 views

Giving newuser root permissions after disabling the root

As stupid as I am a have disabled the root account before I gave my new user account permissions.. any Idea how I can enable the root user again or give my new user the root permission. Every time I ...
1
vote
3answers
11k views

Linux / Folder and /root folder

I searched now a while but couldn't find an answer to this question. I have a Linux based server (centOs). In the root folder (/) i have a folder called root (/root). Now when I sudo cd root/ i ...
4
votes
1answer
1k views

Cannot login as any user other than root - no error message

I'm sure it's something very simple, once you know where to look. This is happening on an Orange Pi PC v1.2, running Raspbian, as it is distributed by orangepi.org. I can't login as any user except ...
0
votes
1answer
564 views

Location of executable files in Linux

Besides /bin and /sbin/, which are the other directories in Linux where executable files are stored? I am aware the whereis command is used to find location of the files, but I can't find any other ...
0
votes
2answers
715 views

Authentication for root process not showing all users

I have 2 linux machines, 1 VPS and 1 raspberry pi Problem: When calling a root function e.g. service "a service" restart both these cases appear different. Some users do not show as possible auth ...
0
votes
2answers
4k views

How to have MySQL entitle the machine's root user?

I'm trying to run mysqlcheck. Its failing with: $ sudo su - # mysqlcheck --auto-repair --all-databases mysqlcheck: Got error: 1045: Access denied for user 'root'@'localhost' (using password: NO) when ...
0
votes
1answer
609 views

Postgresql not connecting to anything such as msf and armitage

I'm currently running Kali Linux and all of the sudden postgresql has stopped connecting to things. my output for msfconsole is Is the server running on host "localhost" (::1) and accepting TCP/...
1
vote
0answers
149 views

sudo-users Executing and Runnning Commands Recursively

I would like to give a specific user the ability to run and execute commands recursively for a given directory and his subdirectories but only specify the top level directory in the sudoers file. ...
10
votes
3answers
15k views

apt-get update not working: Signing/ Verification errors

When I run apt-get update I get Ign:1 http://dl.google.com/linux/musicmanager/deb stable InRelease Ign:2 http://archive-4.kali.org/kali kali-rolling InRelease Hit:3 http://archive-4....
1
vote
0answers
1k views

vmrun error - Home directory is not accessible: permission denied

After updating my linux server from Red Hat 4.8.3-9 to Ubuntu 5.2.1-22. I've reinstalled VMWare on this new machine to host two virtual machines like I did on Red Hat. I have a script to stop the ...
15
votes
5answers
56k views

Synology DSM - Can't log as root (but works with admin)

After some automatic updates (or being hacked ?) I have many things broken and a huge problem to resolve them since I can't login as root anymore. ssh admin : login success su root : permission ...
0
votes
1answer
780 views

How to list root in screen login user list on Debian?

Okay, so I can login to root acc on Debian (gnome), but I always have to click Not listed? and then pass root and password. Can I somehow make root appear in this screen login, so I would just click ...
0
votes
0answers
2k views

kali sana on android gives the following error: the selected extractor cannot be found: ar

hey i have a problem with installing kali sana using linux deploy on my mi4i, when i start the download&installation it says: "E: The selected extractor cannot be found: ar" trying it with debian ...
1
vote
1answer
2k views

Nautilus not working on sudo

I've got Trisquel 7 GNU/Linux distro, with GNOME 3.8.4. I'm finding impossible to create a folder in Nautilus, or drag and drop files into the Desktop, out of other options. I find this quite ...
2
votes
2answers
382 views

How to sudo using another user's account password from a script?

I have a bash script running as user, a user account with no evaluated privileges. The machine has a second account admin which has sudo privileges. There is no root password set. The script knows ...
0
votes
1answer
81 views

Script asks for root password even it has executable permissions for everyone

I have a script with name "somescript", which has executable permissions for everyone (755) but when I try to run it with a non-root user it keeps asking root password. I even tried setting to 4755 ...
3
votes
2answers
2k views

Android / linux ignores setuid flag

I am trying to get root access to my chinese x86 tablet. With adb I have root. I copied a "sh" binary and set setuid bit, and from adb it works as expected: 1|shell@x98air3g_c5j8:/ $ which su.sh /...
0
votes
1answer
1k views

deny ssh from all except 1 IP and allow root from everything

I was able to deny ssh to my server from all ip addresses except 1 by entering sshd: all in /etc/hosts.deny and sshd: x.x.x.x in /etc/hosts.allow (ip hidden) but I want to add an exception ...
0
votes
0answers
79 views

I can't be root

My school gave me a dump with different partition, I have to Work on the linux one, it's a open suse modified by the school.. sometimes I need to be root for install stuff with zypper example, they ...
7
votes
2answers
2k views

Why should I really disable root ssh login?

I always read I should disable root login for SSH and login with a user which has sudo. But where is the difference between: ssh root@vps and ssh myuser@vps sudo -i I don't have physical access ...
1
vote
1answer
4k views

I cannot su - into my root account from a normal user

I can't switch normal user to root and I get following error: [user2@server1 ~]$ su - Password: su: Authentication failure I know for a fact that password is correct. Also permissions on my su ...
-1
votes
1answer
150 views

How to Temporarily Suspend Security Policy Checks / Or Temporarily Grant Root Access?

Note: Please feel free to edit the question -- I am having a hard time expressing it! Question: How do you impersonate a regular user--while still retaining admin/root privileges to execute any ...
-1
votes
1answer
164 views

Bad DNS records pointing to root servers

I noticed today that there are 4 suspicious-looking DNS A-records pointing to the ISI root server at 192.228.79.201 (b.root-servers.net), namely: [www.]allabouttheword.com: a.gtld-servers.net says ...
2
votes
2answers
266 views

Trying to install rpmfusion thru my OS X terminal- I figured out OS X terminal doesn't read Linux commands

I'm trying to install rpmfusion, but this is what the os x terminal replies. What am I doing wrong? I'm in as the root user. Just figured out that OS X terminal doesn't read Linux commands. sh-3.2# ...
1
vote
2answers
46 views

Can I know what others login via ssh have done and what they are doing on my Linux?

As a root user, can I know what other ssh-login users have done and what they are doing on my Linux?
1
vote
2answers
39 views

How can I find and break connections to my Linux via ssh?

I have root rights on my Linux. I logged in from outside but forgot to disconnect. How can I find and break connections to my Linux via ssh?
0
votes
2answers
289 views

Login as root in ubuntu server 14.04

I have a problem to login as root. My '/etc/passwd' file is like root:x:0:0:root:/root:which zsh .... .... I asked similar question at "How can I change the shell for to original one (/bin/bash) ...
1
vote
1answer
142 views

Linux root SSH permission restrictions

I am using NetBeans 8.0.1 on windows and compiling/running/debugging on a remote host on a debian PC on the LAN. I have set up the NetBeans host as root. I also have it set up to debug using gdb. My C ...
1
vote
1answer
50 views

Can boot partitions have a one to many relationship with root partitions? How much do boot partitions depend on root ones?

I’m doing a project on my Raspberry Pi where I’m trying to have my root partition exist on a thumb drive. Multiple thumb drives, actually. So all I have to do to go from one work space to another is ...
0
votes
1answer
107 views

Yosemite Run Command on Boot as Root without Password

I run OS X Yosemite and I would like to always have the command run, as root, on startup: tcpdump -i en0 'icmp and icmp[icmptype]=icmp-echo' >> /var/vtcakavsmoace/Desktop/ping_information.txt ...
0
votes
1answer
87 views

Linux Ubuntu Password reset

I used the passwd >username< on Ubuntu, and it gave me a list of options. How do I get past them? If I try using the options, it won't let me. Please help. Thanks!
1
vote
1answer
761 views

How do I change UID of 0 from non-root user?

I have set the UID of user01 to be 0 when I created it. Now I am trying to delete the user and it complains "user01 is currently logged in". I check the process list, and that doesn't seem to be ...
0
votes
3answers
5k views

How do i change my display name in Linux without adminstrator privileges?

I recently got an account in a network, and the administrator misspelled my name. Is there a way to change it on my own?