1
vote
0answers
103 views

EC2 - ROOT & SUDO not working

I've setup an EC2 instance(PHP, MySQL, phpMyAdmin). Last night I accidentally execute some command that messed up the permissions. I was able to login as root before (to ssh using puTTy) but now ...
0
votes
1answer
124 views

Synology root truecrypt over ssh?

I can not find the syntax to mount a remote volume with truecrypt / ssh . ssh -i /root/.ssh /id_rsa [email protected] 'truecrypt /home/rep.tc/home/dossier' but not work..... -------- SSH ...
0
votes
1answer
79 views

Disabled root login and no root users.. What to do? CentOs 6

So I was undoing some changes here on CentOs 6, and I ended up removing all users who had root access, accept for the root user. But then I realized the root login is disabled, and I just disabled ...
2
votes
1answer
138 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
1
vote
1answer
464 views

SSH: remote switch user and execute command under this new user

I am able to connect to remote machine using public/private keys (without password) as user wakatana. On remote machine I am able to issue: sudo /usr/bin/rootsh -i -u root then I type root's password ...
0
votes
0answers
32 views

OpenBSD install various difficulties

Ok... Where do I start here. I have installed OpenBSD to be used as a dedicated firewall. After install I ran into several kernel traps that had me scratching my head. I finally disabled acpi on boot. ...
0
votes
0answers
30 views

Cannot login to server after file permissions change [duplicate]

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

Why i can not connect myself as root on mac using the terminal?

Actually i have to connect myself as an admin : ssh [email protected] to log into the mac and then use "su" to be as root. I can't connect myself directly as root! WHY?!?....
1
vote
0answers
280 views

permit root login red hat

I'm bit confused because I can't perform such an easy thing as permitting root login to the server (I'm using redhat). I changed PermitRootLogin from no to yes on the server's /etc/ssh/sshd_config and ...
2
votes
1answer
116 views

Should you disable SSH login with root on your server? [closed]

Someone told me to disable SSH login with root for security reasons. Might I ask, why is this necessary, exactly? Wouldn't setting a very long (20+ chars long), full-printable-ASCII range, random ...
0
votes
1answer
236 views

Log in DD-WRT router via SSH works, web front end does not

I can use SSH to log in as the root user, but the same credentials are not logging me into the front end. What is going on here?
1
vote
0answers
173 views

My username and password dont work on SHH Trixbox

I have a Trixbox Linux instaled (based on Asterisk distribution). I can acces the console normally with my root account. Its very simple, restart my machine, type login: root and password ***** and ...
1
vote
4answers
425 views

Do superuser things with normal user

EDIT Read answer of janos below. It's more use SSH-keys to access a root directly. I want to secure the SSH access to my server. One thing I read everywhere is to disable the root user login. ...
1
vote
1answer
344 views

Disabling only password ssh access for root

I know it's possible to disallow root logins via ssh, and that it is a Good Idea™ to disallow root to ever login via ssh (preferring instead to use sudo or similar). Is it possible to allow ...
3
votes
3answers
1k views

How do I run bash scripts as root over SSH?

I have a number of centralized scripts, which install certain pieces of middleware (for example JBoss-AS, JBoss-EWS, etc). The idea is to use expect to write a script which runs the script (which can ...
1
vote
2answers
225 views

Best way to store root passwords

I have over ten web servers to manage and configure, with each server having its own root user and password. I have to maintain a database of all the root passwords on my development machine, but I ...
31
votes
2answers
25k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
3
votes
3answers
5k views

SSH key associated with root directory

In OSX (Linux), how do I get to the SSH keys with my root directory?
5
votes
5answers
8k views

How can I find out which user logged in as root?

We have a couple of servers which are managed by a large group of admins. They usually log in as service users (say hudson) and then switch to root to make some small fix. This means we often can't ...
0
votes
2answers
632 views

Used recursive chown on the root directory

Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...