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
8
votes
1 answer

Allow password access for all users except root?

I want to leave the root user enabled on my servers for convenience, and the only reason people are against the idea (that I know of) is brute-force attacks on SSH. So, is there is a way in SSH to enable password access for all users except root,…
Soviero
  • 4,366
  • 8
  • 36
  • 60
8
votes
2 answers

Accidently locked myself out of MySQL by changing the host

While trying to get remote MySQL working, I somehow managed to lock myself out with the root account. Normally, I would stop the MySQL service and restart it using /etc/init.d/mysql --init-file, but when I try to do that, it says the script has been…
nickjyc
  • 83
  • 1
  • 5
8
votes
3 answers

How to get the number of available updates on an Ubuntu system as a normal user

I need this for a simple monitoring script which i don't want to run as root...
Joe Kandaba
  • 81
  • 1
  • 2
8
votes
4 answers

Who gets root access?

I'm working on a web application which handles some sensitive data. We're getting pretty tight on security, and laying out policies to lock down access to machines, and log everything for technical audit purposes. The question we keep coming back to…
8
votes
4 answers

How Ubuntu cloud version enforces the "no root login" over ssh?

I'm looking to tweak ubuntu cloud version default setup where is denies root login. Attempting to connect to such machine yields: maxim@maxim-desktop:~/workspace/integration/deployengine$ ssh root@ec2-204-236-252-95.compute-1.amazonaws.com The…
Maxim Veksler
  • 2,725
  • 10
  • 28
  • 32
8
votes
3 answers

How can I run supervisord without using root?

I seem to be having trouble figuring out why supervisord won't run as a non-root user. If I start it with the user set to jason (pid 1000), I get the following in the log file: 2010-05-24 08:53:32,143 CRIT Set uid to user 1000 2010-05-24…
Jason Baker
  • 1,229
  • 6
  • 20
  • 26
8
votes
4 answers

Remote Root Login

I know one of the first things you do to secure a server is disallowing remote root login. Passwords are pretty weak; what do people think of only allowing root login via ssh keys or other password-less methods. Which methods are the best? Is it…
Kousha
  • 2,040
  • 1
  • 14
  • 10
7
votes
1 answer

Used PowerShell to change my RHEL root passwords via PuTTY, but I don't know what I changed my password to

Basically the title. My friend provided me a script to batch change RHEL passwords via Powershell and PuTTY, but the new password I entered doesn't work when I try to log in. I think the issue is that it doesn't escape one of the special characters…
7
votes
1 answer

PermitRootLogin is no, I cannot login but why password is asked from user?

I have disabled PermitRootLogin and I cannot login to server by root, but password is asked from user: Is this correct? Or there is something here that I'm missing? Why password is asked when it is not permitted?!
Alireza
  • 583
  • 4
  • 9
  • 27
7
votes
6 answers

The opposite of su: run a command without root privileges

I'm writing a shell script where most commands don't require root privileges. The script should be ran by the administrator. But I would like to be able to "su" to a normal user account for the parts of the scripts that don't require root…
John Smith Optional
  • 502
  • 2
  • 9
  • 18
7
votes
4 answers

Where I work everybody logs in as root

Where I work now, I am forced to use the root account just like everybody else there does. There are no other users. Not even in the DBs. My seniors explained to me that this is done for convenience's sake. I really know this is wrong but I would…
ioctl
  • 89
  • 3
7
votes
2 answers

SSH VPN tunnel without having to enable root

I've been trying to setup a VPN SSH tunnel and I've had success executing ssh -Nv -w 0:0 root@192.168.2.2 -p 50 However, what I am wondering is, can I do the tunneling without having root unlocked? When I try ssh -Nv -w 0:0 $username@192.168.2.2 -p…
mayotic
  • 197
  • 1
  • 1
  • 6
7
votes
3 answers

Run application as root without sudo

I have an application (VirtualBox) which I need to run as root user. I can run sudo VirtualBox just fine, but I want to have a shortcut on my Desktop which I only have to click on to start VirtualBox as root user. I tried chown root:root, but that…
LinuxNewbie
  • 73
  • 1
  • 1
  • 3
7
votes
6 answers

Why are we advised to not log into SSH as Root

Possible Duplicate: Why shouldn't root be allowed to login via ssh? Hi, Why is it safer to not log in as root via SSH? Since the login is SSH protected the root password is not in plain text over the web. Also once you're in you have to SU into…
columbo
  • 219
  • 2
  • 12
7
votes
2 answers

Denied root access to user mounted FUSE file system

Let me start with giving you the details of my setup: I am running Fedora 13 on an x86_64 arch. I have mounted a remote directory using sshfs: jim@localsite $ sshfs jim@remotesite:/home/jim /home/jim/remotemount Now if su to root and try to read…
Mansour
  • 499
  • 2
  • 7
  • 14