Ubuntu12.04 root登陆

Follow the below steps to Login as a root From GUI in Ubuntu 12.04 LTS Precise Pangolin

1)Login as a normal user which you have created during Installation.

2)Click onUnityDashandSearch for Terminaland OpenTerminal

3)Execute Below Command.

sudo passwd root

[sudo] password for tejasbarot: ****** <——– Enter your Current User password from which you have logged in from GUI—->

Enter new UNIX password: ******  < ———Enter New password which you want to set for root user ——>

Retype new UNIX password: ******  < ———Retype New password which you want to set for root user ——>

4)That’s It. You have successfully Setup Your root user’s password. Now Log out from Current User.

5) If No “Other Option on Login screen than please click on this linkhttp://www.tejasbarot.com/2012/04/30/howto-other-login-option-on-login-screen-ubuntu-12-04-lts-precise-pangolin/On Login Screen, Type Username (root )and password which you have setted up in step 3.


DO IT AT YOUR OWN RISK.

1) You have to be root to perform this how-to.
If you are not root then be root by executing following command :-
ubuntu-12.04lts@tejas-barot-linux-ahmedabad:~$sudo su – ( Single Hyphen )

2) First of all Please take backup of original file, execute following command :-
root@tejas-barot-linux-ahmedabad:~#cp -p /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.orig

3)Now Open/etc/lightdm/lightdm.conf, Execute Following command :-
root@tejas-barot-linux-ahmedabad:~#vi /etc/lightdm/lightdm.conf

4)Now Please enter following line to [SeatDefaults] Selection:-

greeter-show-manual-login=true

For Example your/etc/lightdm/lightdm.confshould look like below :-
[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true

Now Save and Exit from file. ( ESC and :wq ).

5) Now reboot Ubuntu 12.04 LTS Precise Pangolin, You will able to see “OTHER” Or Login window which asks for Username and Password on Login screen/Window.





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值