New answers tagged

0

If you encountered the problem with configure: c++11 mode is requested but the current compiler does not support it. while running ./configure linux on a 64bit ubuntu 15.10, this can be solved by installing/updating your gcc and g++ packages: sudo apt-get update sudo apt-get install gcc g++ and specifying your architecture in the configure command: ...


0

According to this answer, gksu is now deprecated. And according to a couple of Ubuntu bug reports, it appears this is the case. You can just use sudo to open vmware player as root: sudo -i vmplayer & To open vmware workstation as root: sudo -i vmware &


2

To lock the root account, making it unable to login with a password, use this command: sudo passwd -l root It will retain whatever password you have set, but it will be unusable for all purposes. EDIT: This will be useful for any account, besides root. To unlock the password for the account you previously locked, use this: sudo passwd -u root BTW: as ...


1

It seems you are using csh shell as your root login shell. So you can either install the missing shell using @izx answer. Or just change the default login shell of your root to a valid, installed login shell. You can change the login shell of the root with command: sudo chsh -s /bin/bash root So now bash will become the login shell of root. You may ...


-1

Edit passwd with vipw Make sure the root shell is set to /bin/bash root:x:0:0:root:/root:/bin/bash


1

If, during the Ubuntu installation, you selected a 10GB partition to be mounted as root (/) and another partition for (I'm assuming) /home, then you should be able to use Gparted to increase the size of the root partition. Install and open Gparted, find the 10GB partition, and see if there is any free space after it. If so, you can resize it. If not, I ...


1

You can limit root access in several ways: You can configure sudo to allow access to only some, but not all commands. Take care with this as sometimes this may allow shell access (for example running vim as root with sudo -> vim will then allow shell access). For details see https://www.sudo.ws/man/sudoers.man.html, there are entire sections on how to ...


0

Only users inside of the sudo group can use it. If you don't want users to be able to use root commands, you can delete them from the group sudo with deluser user sudo


1

Trash can is a folder under your Home called: .local/share/Trash $ sudo chown -R $USER ~/.local/share/Trash Will set the ownership of the files in the trash to the account you are using. After that you should be able to empty the trash.


2

Apart from user folders that aren't root, everything it root owned. That's why you should only use su or sudo if you need to, because you can really mess things up.


0

Serg gave the right answer but I'd just like to add that Eclipse is available in the Ubuntu software centre, which will allow you to get automatic updates, unlike downloading the source. To get Eclipse installed easily, just search for it in the Software Centre (or search for eclipse-platform), or use sudo apt install eclipse*.


5

If your purpose is to find all files and directories accessible by you, use find utility with -group flag. sudo find / -group $USER | less If you want to filter out only directories, use -type flag sudo find / -type d -group $USER | less More info in man find. Ownership of files found might belong to root, but if a file belongs to your group, as ...


1

I tried the gksudo method but nothing happened. Here's what worked for me: Download and install furius.iso, then mount the ISO. Open the mounted image, and copy the installer's filename into the terminal. Then, type "./install" and when it asks you where to install, change it to /home/your_user, ~/ or so. Tested on 15.04.


2

When you login as su - your environment changes, you are now root and current working directory is /root skolodya@ubuntu:$ su - Password: $ pwd /root What you need to do is mv /home/$USER/eclipse /opt . Note: change $USER to your actual user name Side note: When you run as root you dont need ...


0

In newer versions of Ubuntu, the command is: gparted-pkexec There's a bug that can happen in newer versions of Ubuntu where the gparted packages seem installed, but aren't. To fix that, you need to remove gparted and reinstall.


1

Thank your for your answers. The answer is indeed simple because I seem to have edited ssh-config file instead of sshd-config to enable root login. And after editing the file it seems to solve the issue. Many thanks for your time Prakash


0

Now I feel kind of stupid for posting the question. At least one part of my question I figured out. Do this is your installed Ubuntu CTRL + ALT + T = Opens the terminal sudo apt-get install gparted Press enter and then enter your password - This will obviously not show in terminal. Close down terminal and go to the Unity, and open Gparted. Select the ...


1

It is not allowed to run pkexec in the background by fork and exec and then terminating the parent. The process becomes an orphan and belongs to init (ppid == 1). See: https://lists.ubuntu.com/archives/foundations-bugs/2012-July/100103.html You're giving control of an application to another user (usually root). The default way is to run the application with ...


1

Because NTFS doesn't store or use "Linux" file permissions the kernel emulates them. You set the entire mount partitions permissions at mount time. You have two option. Remount the NTFS partition, setting the permissions to something less restrictive. This is the least secure option. Move the executable to your Linux partition, then chmod it, then run ...


0

You need to set a.out's permissions to executable - use: sudo chmod +x a.out And then try running it again. Edit: Need to use sudo on chmod.


4

What happens ? TL;DR #1: Basically, you spawn x-terminal-emulator and Unity searches for anything that has x-terminal-emulator in their shortcut file. You press Ctrl+Alt+T, which spawns x-terminal-emulator. In Debian Alternatives system, x-terminal-emulator is a symlink to a whatever terminal emulator app you would want to use. Unity's mechanisms search ...


1

The method you describe is merely used for aliasing non existing mailboxes, I do not know if this behavior can be tweaked to do it differently. However you can accomplish what you want by editing /etc/postfix/main.cf and adding two lines: virtual_alias_domains = mydomain.com myanotherdomain.com virtual_alias_maps = hash:/etc/postfix/virtual then edit (or ...


-1

I tried the following link : https://bugs.launchpad.net/terminator/+bug/1447580. And run the following command and it worked for me: gsettings set org.gnome.desktop.default-applications.terminal exec 'terminator' Good luck!!



Top 50 recent answers are included