Showing posts with label Change forgotten password of the root user at the Linux server. Show all posts
Showing posts with label Change forgotten password of the root user at the Linux server. Show all posts

Thursday, December 29, 2011

Running Teamviewer 6 as root on linux

While attempting to run teamviewer 6 on BT5, as usual, I got the error:

Error: TeamViewer must not be executed as root!

so the solution is simple

root@bt:~# cd /opt/teamviewer/teamviewer/6/bin/
root@bt:/opt/teamviewer/teamviewer/6/bin# gedit wrapper

then edit the file as

and instead of “die” just replace that with “echo”. This way it would run and every time remind you of security issues as well.


function validate_user()
{
local userid=$(id -u)

if [ $userid = 0 ] ; then
echo “TeamViewer must not be executed as root!”
fi
}

or simply just uncomment the whole if – fi structure.

Cheers!

Ujjwal Soni

Thursday, November 18, 2010

Change forgotten password of the root user at the Linux server

Hi All,

Yesterday, i forgot root password for my hosting webserver. So I decided to crack it using the following steps. It’s documented and is written in the Linux manual :)


http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/step-guide/s1-q-and-a-root-passwd.html

And finally, i was able to login to my server.

Cheers!!!

Ujjwal B Soni