Skip to main content

How to: Configure or Enable Root User in Ubuntu

I Love Ubuntu




If you have just configured the Ubuntu and you want to enable root user, then following is the procedure:









 




faaiz@ubuntu:~$ sudo passwd root
Enter new UNIX password:    //---here you enter the desired password
Retype new UNIX password:
passwd: password updated successfully
faaiz@ubuntu:~$
faaiz@ubuntu:~$ su
Password:                  //---enter the password that you set earlier for root
faaiz@ubuntu:/home/faaiz#    //---here you are root privilege mode



Comments

Popular posts from this blog

Client IP Filtering in Weblogic and Apache through Load Balancer (F5 Big IP LTM)

Client IP Filtering in Web servers through Load Balancer 1    IP Web Filtration in Apache HTTP Web server 2   IP Web Filtration in Oracle Web Center  Suite on Windows Server 2003 . 7 3   I P Web Filtration in Oracle Bea Weblogic on Linux 1        IP Web Filtration in Apache HTTP Web server Following were the key steps used to configure filtration of client IP in access logs of apache HTTP server: 1.1.     Installing  Apache on Linux ( in our case its Ubuntu 10.10) 1.2.    Configuration of X-Forwarded-For in Apache configuration file 1.3.    Creating HTTP profile in Load balancer and enabling X-Forwarded-For 1.4.    Verifying the logs 1.1   – Installing  Apache on Linux ( in our case its Ubuntu 10.10) #apt-get install apache2 1.2   Configuration of X-Forwarded-For in Apache configuration file # nano /etc/apache2/apache2.conf Now replace the %h variable with {X-Forwarded-For}i as shown below in apache2.conf file LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\"

Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1) on Linux Ubuntu 32-bit (i386)

Installing IBM Tivoli Storage Manager (TSM) Client (V 6.2.1) on Linux Ubuntu 32-bit (i386) Step 1 Download the Installation files (in our case it is CZGL9MLtar.gz ) Step 2: We need to install an additional package for this version i.e., libstdc++5. This package contains an additional runtime library for C++ programs built with the GNU compiler. #apt-get install ksh libstdc++5 Step 3 Gunzip and tar the downloaded file. Make sure you have root privileges. root@ABCXYZ:~#pwd /root #chmod 777 CZGL9ML.tar.gz #gunzip CZGL9ML.tar.gz #tar -xvf /home/rizvi/CZGL9ML.tar #cd TSMCLI_LNX/tsmcli/linux86/ Here you would see rpm files. Step 4 Now we will unpack rpm files. For this we need alien package installed. If not then (#apt-get install alien) #alien –g TIVsm-API.i386.rpm #alien –g TIVsm-BA.i386.rpm #alien -g gskcrypt32-8.0.13.3.linux.x86.rpm   #alien -g gskssl32-8.0.13.3.linux.x86.rpm Step 5 Now we will change directory name. This is an

Neo4j: How to config the heap size and verify the setting

Setting Max_Heap_Size We can set the parameters of heap size in Neo4j graph database by changing "neo4j.conf" The default location of neo4j is   "/neo4j/conf/ " Simply remove # from the the following lines and set the size as you want. "m" represents Mega Bytes and "g" represents the Giga Bytes dbms.memory.heap.initial_size=512m dbms.memory.heap.max_size=2g Verify Max_Heap_Size Following is the command to verify the size  you set. $ CALL dbms.listConfig("heap"); The output will look like name description value dynamic "dbms.memory.heap.initial_size" "Initial heap size. By default it is calculated based on available system resources." "512m" false "dbms.memory.heap.max_size" "Maximum heap size. By default it is calculated based on available system resources." "4G" false