log in as root
I have Ubuntu 8.10 and try to log in as root with su and password, but get the message "Autentiseringsfeil" (norwegian). What is wrong?
|
Hi, welcome to LQ!
Ubuntu by default doesn't have a root account enabled; did you change that in the first place? If you want to become root on ubuntu normally you'd go "sudo -i" and type your own password. Cheers, Tink |
To login as root when root user is disabled use:
Code:
sudo -s |
i have also an ubuntu8.10 paltform , i want to install a package from the source called hdf5 which is needed to run another program but when i unzipp it and i want to change a file in the folder it says that i do not have the access to change it , i tried sudo -s but again the same problem happend
what can i do to become root to change the file |
as lame as i find this you can actually get into root with this whacky command:
Code:
sudo su Code:
passwd |
there are folders which i want to delete from my desktop but i cant
|
Hi There,
In case you want to delete something but it is not allowing you to delete files, then either check permissions on the files, or use the switch -rf for remove command, i.e, rm -rf <file name> Quote:
|
the permission is root and i also tried that rm -rf but again the same message appeared .
|
Quote:
Thats just my two cents; sorry for the rant. Back to your issue... sudo su - Will get you into root. Then you may use rm -rf on that directory as the previous poster suggested. And I will warn you in case you don't know; root and rm -rf although needed can be very harmful to the integrity of your system so think before you type. :) |
Hey try this.
Code:
sudo passwd Code:
sudo rmdir directoryname/ I did this and it worked fine for me. Hope it works for you. |
Traditionally, the 'rmdir' command does not work if the directory is not empty. You have to do 'rm -rf' instead. With Ubuntu, which was designed for families with exploratory children, you may be allowed to do it with sudo, (sudo rm -rf directory), if the administrator allows you to do so.
If you don't like the extra typing involved with sudo, install Debian....if the administrator will allow you to do so. If you're stuck with Ubuntu because your a child under a parent's control, type 'sudo' once and a while and hit enter, you'll get an error or nothing, but at least you don't have to type it at every command, all you have to do is hit the up arrow key to go through the bash_history of past commands till it shows up, then add the root command you're allowed to use, and you'll save having to type those extra four letters...since you're lazy enough to complain about it. |
All times are GMT -5. The time now is 07:14 AM. |