0
votes
4answers
156 views

need to connect as **root@my-server-ip** with SSH [duplicate]

I have a VPS with Ubuntu 14.04. I need to login as root to my server over SSH. I set a password for root: sudo passwd root then enabled it: sudo passwd -u root then rebooted my vps: sudo reboot But ...
1
vote
3answers
41 views

How do you limit root to no more than 1 login at a time?

I took a practice test for a cert and one of the questions was "Limit root to no more 2 simultaneous logins, make this configuration persistent between restarts". I didn't even really know this was ...
0
votes
1answer
58 views

root must be setuid root [duplicate]

I accidentally ran this command chmod -R 755 /usr/bin on my remote server [Ubuntu 12.04.3 LTS], and I don't have the root password. When I run sudo it gives me sudo: must be setuid root, This is the ...
0
votes
0answers
14 views

remote install ubuntu server back to start?

I got a Ubuntu server where i have root access, i do not have access to it physically. There was a lot of random stuff on it when i got it. How can i install it back to clean, as it was in the ...
6
votes
1answer
777 views

How did this exploit allow write access to root owned files?

For a computer security assignment at my university I need to find and understand an exploit that works on ubuntu 10.04. I have already found and tested one on an Ubuntu 10.04 machine (that I own) ...
4
votes
4answers
18k views

How to enable root access on Ubuntu 14.04

i´d like to enable the ssh root access on Ubuntu 14.04. Editing the /etc/ssh_config (PermitRootLogin yes) didn´t affect anything
0
votes
2answers
67 views

Can we set the root without password?

Suppose that I had set the root password before with ssh key. Hereinafter, I want to let the root without password. Is there a way to do that? Thank you
1
vote
1answer
2k views

How to deny root SSH login + require SSH key for user?

After reading this similar question I'm unclear how to require SSH keys for user, while denying SSH access to root (key or password). I'll use sudo after logging in as a user if I need to be root. I ...
2
votes
1answer
138 views

sudo emacs crashes with tramp when I start a line with /

I run emacs in command line [-nw] on ubuntu 12.04 as root. If I start a line with '/', emacs freezes for a while and displays "Tramp: Waiting for prompts from remote shell". please note that I don't ...
0
votes
0answers
156 views

unable to root login and may be ~/.bash problem

initially i am trying to connect with github with RSA key and it is giving error permission denied...unknown host. Then change my ~/.ssh directory permission to chmod 700 ~/.ssh chmod 600 ~/.ssh/ ...
0
votes
0answers
263 views

Cloudera installation : Failed to detect root privileges [duplicate]

I tried to install CDH on my Ubuntu box (one host). It fails on install: "Failed to detect root privileges." I know that Cloudera needs user to have passwordless privileges ("Root access to your ...
1
vote
1answer
235 views

Cannot login to server after file permissions change!

I am using Ubuntu server. I ran: chmod -R 700 / when I was logged in as root. Now when I try to login as my normal user I immediately get kicked out. Is there anyway to log back in to the server ...
0
votes
0answers
1k views

What to do after 'chmod -R 777 /'? [duplicate]

I have many file permission problems, as being a newbie, I unfortunately set permissions on everything somehow to 777 (chmod -R 777 /). I believe I've done this from the root directory logged in as ...
5
votes
3answers
2k views

How can I run SSH as a different user on the same Ubuntu installation?

I am creating a script which runs a series of command that would download a website to a machine and sets up everything. So most of the commands require root access. For example adding a vhost in ...
23
votes
3answers
32k views

How do I copy files that need root access with scp?

I have an Ubuntu server to which I am connecting using SSH. I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root. Using PuTTY, after I log ...
4
votes
4answers
16k views

What is the password for ``ssh root@localhost``?

I need to ssh to localhost using root account, by ssh root@localhost. When it prompts for passwords, I can not login with all possible passwords. On setting of localhost machine, regular user xxx and ...
0
votes
1answer
125 views

Terminal shows root@homeserver when logging in with user

I have an Ubuntu Server 12.04 running on a Dell D620 Machine called "homeserver". Everytime i log into the SSH with the user homeserver (yes same name as machine) the terminal shows root@homeserver. ...
2
votes
1answer
544 views

ssh as root to a ubuntu server

My public key was recently added to a ubuntu server so that I can remotely log in as root. However, when I log in as root. I cant do some simple tasks like mkdir . Is there something I am missing ...
2
votes
2answers
2k views

How do I mount a drive so that it is readable by me?

I'm working with over SSH with an external hard drive connected by USB. I know I can manually mount a drive with the following command: sudo mount /dev/sdc ~/dirToMountTo The problem is, if I ...
2
votes
1answer
2k views

How to ssh to Live CD for remote recovery - root password issue?

Is there an automatic way to SSH to a machine that booted from Live CD? I have a remote server with a HDD issue and the ISP booted my machine from a Live CD. I can SSH to the machine (lucky has the ...
6
votes
1answer
2k views

Get root privileges for nautilus on sftp connection

I use "Connect to server" option to sftp to remote computers, as a user which has sudoer privileges. But then, I cannot get root privileges to modify system files. How can I do this? (I know i can ...