paulwong

          Ubuntu Tips: How To Enable Root User ( Super User ) in Ubuntu


          Question: I’m unable to do su – on Ubuntu. It says “su: Authentication failure”. How do I fix it? Also, is it possible for me to login to Ubuntu using root account directly?

          Answer: Let us address these two question one by one.

          Warning: Enabling root is not recommended. If possible, you should always try to perform all administrative tasks using sudo.

          Question 1: I’m unable to login using su command. How to fix this?

          By default, root account password is locked in Ubuntu. So, when you do su -, you’ll get Authentication failure error message as shown below.

          $ su - Password: su: Authentication failure

          Enable super user account password on Ubuntu

          First, set a password for root user as shown below.

          $ sudo passwd root [sudo] password for ramesh: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully

          Now with the new password you can login as super user with su command

          posted on 2014-05-03 21:26 paulwong 閱讀(394) 評論(0)  編輯  收藏 所屬分類: LINUX

          主站蜘蛛池模板: 巴东县| 莱州市| 新宁县| 景泰县| 海阳市| 洪泽县| 泉州市| 洱源县| 郎溪县| 承德市| 枝江市| 甘泉县| 杭锦后旗| 吴桥县| 汕头市| 法库县| 临泉县| 定南县| 昭觉县| 天柱县| 青州市| 东明县| 益阳市| 宜州市| 青川县| 武宣县| 福泉市| 洪湖市| 湘阴县| 侯马市| 故城县| 肃南| 临泽县| 通城县| 定陶县| 西乡县| 武乡县| 公安县| 保靖县| 格尔木市| 彭州市|