Results 1 to 7 of 7
Hello. How do you log in as root? Because i have only created one user, as far as i recall, called "mig" and a password for that too. I haven't ...
- 08-20-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 43
How do you log in as "root"?
Hello. How do you log in as root? Because i have only created one user, as far as i recall, called "mig" and a password for that too. I haven't made an root-user, i think. But at the graphical KDE 3.3 login-menu in the start, i tried typing root insted of mig, and then my password i use to my user mig. It just says "root logins not allowed" Now what should i do? And how do i edit my root-password?
- 08-20-2005 #2Linux Newbie
- Join Date
- Apr 2005
- Location
- The Slammer
- Posts
- 137
I suppose you're using Ubuntu?
Just type sudo passwd at the command line and supply a new root password to enable the account.
BTW, you can always carry out all the administrative tasks via the sudo command. No need for the root account.Registered Linux User #394578
- 08-20-2005 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 43
Thank you, but no, i am using the Debian Net-installer-CD, that weighted around 180 mb, from www.debian.org. Is it still the same i should write? Because then i type "passwd", it just changes my normal user, mig, pass. And then i type sudo, it just says "bash: sudo: command not found"
- 08-20-2005 #4Just Joined!
- Join Date
- Aug 2005
- Posts
- 43
25 looks, and so little answers? Please help me, guys...
- 08-20-2005 #5
To use sudo you'll have to install the 'sudo' -package with apt-get or if you prefer another way you can use that. Then you pobably have to edit your /etc/sudo file to be able to use sudo.
You can not login as root in grahpical because of security reasons. If you need to issue commands as root without installing the 'sudo' -package you can run:
When you run 'su -' you'll be asked to enter the root password.Code:# su - [password]
- 08-20-2005 #6Just Joined!
- Join Date
- Aug 2005
- Posts
- 43
Thank you alot, it's working now. And i found http://www.linuxforums.org/tutorials...ial-19957.html
and followed it. Weeeeeeeeee
- 09-19-2005 #7Just Joined!
- Join Date
- Sep 2005
- Location
- East Coast
- Posts
- 4
You can also change the preferences of the login manager to allow root logins. Gave me trouble in the begining.



