Skip to content

Nitesh Apte's Blog

Set Goal, Visualize, Write and Publish

  • Home
  • Current Page Parent Technical
  • Writings
  • Social
  • Business
  • GitHub
  • Instagram
  • About Me
  • Contact

You may also like

1
Technical

How to consume REST Web Service in PHP

2
Technical

How to fetch trailers from YouTube using PHP

Technical

How to disable SSL check in Spring Boot WebFlux WebClient

Recent Posts

  • Understanding Functional and Non-Functional Requirements in System Design February 25, 2025
  • Vertical Scaling Strategies February 9, 2025
  • How the Internet of Things (IoT) is Revolutionizing Industries January 29, 2025
  • The Role of AI in Architectural Decisions: Shaping the Future of Solution Design January 12, 2025
  • Building a Modern Reactive Rate Limiter in Java 21 with Reactor API December 12, 2024

How to enable root login in Ubuntu 14.04

Share
  • 14
  • Author
    Nitesh Apte
  • Date
    April 18, 2014
  • Category
    Technical

Hi Guys,

We all know that the latest version of Ubuntu has been released yesterday, Ubuntu 14.04 LTS. Yup, it’s a Long Term Support.

ubuntu-14-04-trusty-tahr-lts-review

It is very much understandable that for security reasons root login is disabled in Ubuntu. But when we install something on Ubuntu, a pop up appears asking for the root’s password, it’s irritating. I am sure you guys know how to enable root login in previous releases of Ubuntu. Here is the way to set up root login in latest release, Ubuntu 14.04 LTS (Trusty Tahr):

Step 1. Execute the following command in terminal.

sudo gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf

Step 2: Add the following statement.

greeter-show-manual-login=true

Step 3: Save and close gedit.

Now, restart your Ubuntu machine. You will see a ‘Login’ as one of the option in login prompt. I believe you guys know the rest πŸ˜‰

That’s it guys.

Note: Don’t use root login. You will find ample of documents over internet to support this. Google up πŸ˜‰

UPDATE: Before proceeding with above steps, change root password from your normal login using the following command:

sudo passwd root

 

Critics/Feedback are very much welcome.

Have a nice day ahead!

Loading

Tags: Root LoginTrusty TahrUbuntuUbuntu 14.04

Share on Facebook
Share on X

14 replies on “How to enable root login in Ubuntu 14.04”

  • Esber says:
    January 20, 2015 at 11:51 am

    OMG, thanks indeed, i was trying to do this since 2 days.

    Reply
    • Nitesh Apte says:
      January 22, 2015 at 4:57 pm

      Welcome buddy!

      Reply
  • RacheeshKK says:
    February 12, 2015 at 12:07 pm

    It is very helpfull to resolve the issue. I got lot of support commands in other websites, but not..
    Now i am able to login via root user.

    Can you share the procedure to configure VSFTPD in ubuntu? I tried lot as per support website. But not..

    Regards,
    Racheesh.K.K

    Reply
    • Nitesh Apte says:
      April 7, 2015 at 6:04 pm

      Hi Racheesh,

      I have never installed any FTP server on my machine, so I won’t be able to help you with this.

      I did Google your query and I think the first link of search result might help you. Here is the link: http://www.liquidweb.com/kb/how-to-install-and-configure-vsftpd-on-ubuntu-14-04-lts/. Please have a look.

      Reply
  • Rajlaxmi Parida says:
    April 7, 2015 at 4:42 pm

    Thanx Nitesh. But as am a very new user to ubuntu , I don’t know anything about ubuntu and this sudo error is riduculous. so can you help me out to get rid out of dis ?
    How can I use sudo commands in 14.04 version of ubuntu?

    Reply
    • Nitesh Apte says:
      April 7, 2015 at 6:08 pm

      Hi Rajlaxmi,

      Which sudo error you are getting and what command you are issuing? Are you logged in as normal user or as root. If you can log into your ubuntu system as root then you don’t need to use sudo anywhere.

      Thanks
      With Regards
      Nitesh Apte

      Reply
  • T.C. says:
    May 18, 2015 at 8:13 pm

    All I get is the error message “stdin is not a tty” after I log in as root. What’s up with that?

    Reply
    • Nitesh Apte says:
      May 18, 2015 at 9:47 pm

      Hi TC,

      Restart your PC and try to login as root. Let me if you able to login this time or not.

      Reply
  • Sachin Labade says:
    June 4, 2015 at 11:35 am

    It Worked, was going crazy for 2-3 day. Thanks

    Reply
    • Nitesh Apte says:
      June 4, 2015 at 9:33 pm

      Glad it helped.

      Reply
  • divyanshu says:
    June 14, 2015 at 6:49 am

    “Now, restart your Ubuntu machine. You will see a β€˜Login’ as one of the option in login prompt. I believe you guys know the rest.” Sincerly I dont and the login that has appeared after the commands wont log me in.

    Reply
    • Nitesh Apte says:
      July 21, 2015 at 8:47 pm

      Hi Divyanshu,

      Sorry for late reply.

      I think you have not created root password. Login with your username. Change root password using –
      sudo passwd root.

      Logout and try again to login using root.

      I will also update my post.

      Thanks

      Reply
  • vinayak says:
    January 7, 2016 at 11:24 am

    File not saved.ask for persmission .

    Reply
    • Nitesh Apte says:
      January 22, 2016 at 2:36 am

      Are you using sudo?

      Reply
  • Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Time limit is exhausted. Please reload CAPTCHA.

    Follow Me

    • Next The Silver Moon
    • Previous How to get yahoo messenger status using Java

    Categories

    • Business (1)
    • Social (1)
    • Technical (45)
    • Writings (15)

    Archives

    • February 2025 (2)
    • January 2025 (2)
    • December 2024 (4)
    • November 2024 (2)
    • October 2024 (2)
    • July 2024 (2)
    • June 2024 (1)
    • May 2024 (2)
    • April 2024 (4)
    • August 2022 (5)
    • May 2020 (1)
    • November 2018 (2)
    • March 2018 (1)
    • July 2016 (1)
    • May 2016 (1)
    • May 2015 (1)
    • April 2015 (1)
    • February 2015 (1)
    • January 2015 (1)
    • December 2014 (1)
    • September 2014 (1)
    • August 2014 (1)
    • July 2014 (1)
    • June 2014 (1)
    • May 2014 (1)
    • April 2014 (2)
    • March 2014 (1)
    • February 2014 (1)
    • January 2014 (2)
    • December 2013 (2)
    • November 2013 (2)
    • October 2013 (2)
    • August 2013 (1)
    • July 2013 (3)
    • June 2013 (3)

    Tags

    Artificial Intelligence (2) Asynchronous calls (2) Automation (3) Backup (2) C Langauge (2) Cloud Computing (3) Concurrency (2) CPU (2) CSV (2) Data Analysis (2) Database (6) Database Management (2) Database Tools (2) Data Export (2) Data Migration (2) ExecutorService (2) files (3) Java (12) Linux (3) love (10) moon (3) Movies (2) MySql (2) MySql Export (2) non-blocking (2) nostalgic (2) PHP (11) poems (2) PostgreSQL (2) psql (2) reactive programming (2) REST (5) RESTful (2) romance (3) Shell Scripting (2) spring boot (5) Spring Boot Reactive (2) SQL (3) System Design (3) Threads (2) Trailer (2) webclient (4) webflux (7) Web Services (2) YouTube (4)

    Nitesh Apte's Blog © 2025. All Rights Reserved.

    Powered by WordPress. Theme by Alx.