Tag Info

Hot answers tagged

8

What a bad idea. Don't do that! I quote (@ByteCommander): Running a web browser as root and not even requesting a password for this is BAD! Would you also ask somebody how to modify your front door so that it can always be opened without a key? Probably not... Visit only one malicous website and you have a big problem.


8

This is the intended behavior of vim (and vi). When you edit a readonly file, attempting to write the file the usual way (with :w) fails. This is to prevent you from accidentally changing a readonly file you might not wish to change. If you really want to override the readonly permissions on a file that you own, and write your changes to the file, you must ...


2

sudo su means run the command su as sudo which means as root. Here the system will ask you for your password since you are a sudoer. So when you offer your password then you are now working with root ability so when you run now su by the time you are using root abilities so you don't need any password. It's same as if you are a root then su to any other ...


2

Type sudo su in the terminal. This will open a root session. Be very careful, as you can do very bad things with this. If you want to run a program in a GUI as root, type "gksudo". However, this thread may be of use to you. It is much more dangerous than simply using sudo. If you want to do it, you can. (Command is sudo passwd -u root [password])


1

To enable root login for SSH first enable root account by giving password to root sudo passwd Now, you need to edit /etc/ssh/sshd_config gksudo gedit /etc/ssh/sshd_config Remove the (#) comment from this line: PermitRootLogin without-password directly under it add this: PermitRootLogin yes Now restart SSH: sudo service ssh restart Enable Root ...


1

The actual command for launching vmware player from the terminal is vmplayer, That is why it wasn't launching for you. To launch vmware player as root just run the following command from the terminal. gksu vmplayer I know you found a workaround for your problem but I hope this helps anyway. Also it is apparently not advisable to run desktop ...


1

run the command sudo visudo then add username ALL=(ALL) NOPASSWD:/usr/bin/firefox What does this mean? sudo visudo means to edit the sudoer file username ALL=(ALL) NOPASSWD:/usr/bin/firefox this means to give a run the firefox using sudo for user username wirth no password. Now how to make it available to your launcher. gksudo gedit ...



Only top voted, non community-wiki answers of a minimum length are eligible