Tag Info

New answers tagged

0

If you set it's permissions to +s, as in sudo chown root:rootfile ; sudo chmod +s file you will see it set to 6664/-rwSrwSr-- permissions. This sets the user to root, & makes it executable. A degree of caution is merited when doing this!


0

I recently encountered this exact problem, through I had to solve it slightly differently. The cause was very similar. Basically, in my case, somehow, /etc/pam.d/common-session-noninteractive had gotten slightly corrupted in a rather bizarre manner. My common-session-noninteractive looked like this: # since the modules above will each just jump around ...


0

open a terminal and type the following command sudo gedit /etc/apt/sources.list Now, scroll down to line 56. There is your problem. What is different about this line? Is there a typo somewhere? Did you add this line manually? To get around this problem, you can delete this line or comment it out by placing a # at the beginning of the line. After fixing ...


0

The latest version of PHP in Ubuntu 12.04 is currently 5.3.10-1. Given that you have 5.5.20-1, you clearly are using a third party PHP package, rather than the Ubuntu one. With Ubuntu you can choose either to run the version supplied with Ubuntu, or run a third party package. You seem to be doing the latter. Probably the best choice of PPA for PHP is ...


1

The deb file that is downloaded and installed when you run apt-get install is basically a build of the source code with most options already set. This includes the location where it would be installed, probably /usr/some_folder. This means you cannot change this location by using a deb file. The only way to do this is to get the source code, modify it and ...


0

you say u don't have a backup cd. Well,stuff like this happens. I'm not an expert but u could reinstall windows 8. If you don't have a windows 8 cd you can get it from microsoft i guess, from what i have heard, or from the manufacturer of your computer (that is if the computer came with win 8 pre-installed. If that doesn't work idk where you can get a free ...


1

tar is the Swiss army knife of extracting archives. It can handle many different archives, such as tar.gz, tar.xz, tar.bz, tar.bz2, tar.lz ... Your command contains the following three options: -x = extract -z = gzipped archive -f = get from a file, not a tape drive To find more help on tar, enter tar --help or man tar in your terminal. So your ...


1

The other answers provided are quite good, but I would like to give an example and explain more of why it is used for installations. First of all, like the others have explained. tar -xzf is just a method for extracting. In installation instructions they will usually tell you the options to use since different options will be required for different archive ...


0

I just use sudo -i to log in as root on a local machine's terminal.


1

Are you sure that www-data needs to do chroot? Please explain why. There is no way to get /bin/chown to restrict UIDs. You will have to write a wrapper around /bin/chown that does the input validation, then calls the real /bin/chroot, then allow www-data access only to the wrapper.


0

hd-idle requires root to work with the files in /proc/diskstats because /proc/ and /dev/ owned by root. I wouldn't advise changing the ownership, but perhaps you can add your user account to the dial out group. $sudo usermod -a -G dialout <user-name> Then you can try doing things like accessing hardware You could also try changing the group ...


1

Once you have installed the openvpn package, you need to configure it accordingly. (for other readers, the files inside an installed package can be listed with dpkg -L openvpn.) I can recommend you to use Network Manager which has an OpenVPN plugin. There you can put the certificates, host, etc. of your VPN provider. If you have none and want to setup the ...


0

you might be getting an error if your hosts or hostname file contain illegal characters. Only these symbols are permitted: a-z, A-Z, 0-9


0

For a single user : superuser ALL=(ALL) NOPASSWD:ALL For a group : %supergroup ALL=(ALL) NOPASSWD:ALL


0

In AWS, go to your vpc and turn on "DNS Hostnames".


1

You need to understand what sudo does. Quoting the Wikipedia page : sudo (/ˈsuːduː/ or /ˈsuːdoʊ/) is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user (normally the superuser, or root To explain further, it gives your program access to the core, sensitive files of your ...


3

Which Ubuntu version do you use? At least on 14.04 gufw already comes with a desktop file, /usr/share/applications/gufw.desktop. These are its contents: [Desktop Entry] Version=1.0 Name=Firewall Configuration Comment=An easy way to configure your firewall Categories=GNOME;GTK;Settings;Security;X-GNOME-Settings-Panel;X-GNOME-SystemSettings; ...


0

Edit the file /etc/sudoers. Add the desired paths to the following line: Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin example: Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin


1

Create file /etc/sudoers.d/any-descriptive-name-here with such content: user ALL = NOPASSWD: /bin/ln -s /source/location /destination/location This allows user execute command /bin/ln -s /source/location /destination/location without password. Require password or not, create user list, allow by group, etc. - see man sudoers Also note that delegating sudo ...


1

So, dpkg is trying to overwrite /lib/i386-linux-gnu/libply.so.2.1.0, which is already there and brought by the package libplymouth2:i386. My suggestion is to uninstall libplymouth2:i386 first, then run sudo apt-get remove -f and afterwords again install the package you jsut uninstalled. Hopefully that will help.


-1

If you can only access javac (the java compiler) with sudo access you might have permissions issues. The following command should do it for you: sudo chmod +x `which javac`


0

The main error is "The following packages cannot be authenticated". So try with the following, sudo apt-key update sudo apt-get update Hope this will help you to fix the issue.


1

I find it rather weird to suggest to disable the mpm-itk as there might be a reason why it is actually used. We use mpm-itk (version 2.4.7-02) with apache 2.4 and it works perfectly. The only thing to consider here are the new configuration directives LimitUIDRange and LimitGIDRange These directives define, which UIDs and GIDs mpm-itk can use (via ...


0

This will happen when the user's entry is missing from /etc/shadow (which is normally updated automatically, unless you have been editing /etc/passwd directly). The pwconv utility will fix any inconsistencies. There is a corresponding grpconv program for the groups in /etc/gshadow.


1

Try editing your /etc/hosts as follows : 127.0.0.1 server.example.com 127.0.1.1 server.example.com server ::1 ip6-localhost ip6-loopback server.example.com fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters Try executing sudo su now and see if it makes a difference.


0

Use this command in Terminal: sudo apt-get install tree The update command only retrieve new lists of packages, you need the install command which is used to install a new package.


1

Depends on your setup sometimes... %domain\ admins ALL=(ALL) ALL %domain\\domain\ admins ALL=(ALL) ALL %domain\ admins@domain.com ALL=(ALL) ALL The last one is the one I actually had to use to get mine to work...I'm using sssd and realmd to join my domain. Many suggestions in the past showed using domain^admins but that has never personally worked for ...


0

The problem was with the JAVA_HOME.. Had to add: export JAVA_HOME: path/to/correct/version then everything worked.


1

You will need to boot off your installation media again to fix this problem. You need to gain root write access to the partition containing your Ubuntu install, so boot off the installation media (CD or USB) and mount your ubuntu partition temporarily. $ sudo bash # mkdir /mnt/ubuntu-main # mount /dev/sda1 /mnt/ubuntu-main Of course, replace /dev/sda1 ...


1

This is a little nasty but it's worked for me in the past and has the added advantage of re-setting your root password. It wasn't an Ubuntu system I did this with but the principle remains the same. Boot off of a live CD, I assume this will mount your existing linux partitions. If not you'll need to mount them manually. From the shell $ cp ...


2

That literally means it can't find the file. ./install.sh means execute a file in the current directory called install.sh. If you're not in the right directory, you won't have an install.sh to execute and that'll exhibit the error you see. Simply put, you're not following your instructions correctly. If you've extracted an archive from Intel, you likely ...


2

You want cron, which is the age old unix daemon for running scheduled jobs. Gnome-schedule only runs in your gui session as you, and so won't be able to run commands with sudo since you aren't there to type the password. Insert a file in /etc/cron.d/ to schedule a job to be automatically run as root at specified times. To shutdown at 10:30 pm each ...


0

After I changed the keyboard layout I could solved the problem as mentioned on the above comments.


0

I don't have Nvidia graphics drivers so I can't fully test this, but some ideas: Have you tried just sudo ipython to see if optirun might not be the problem? "sudo ipython" works fine on my system. Also try: sudo optirun /path/to/ipython So on my system this would be: sudo optirun /usr/bin/ipython


2

by running sudo chmod -x * -R you just removed execution rights to everything under your current directory, including subdirectories. This should not prevent to open files in the current directory for editing or reading, but this prevents you to open subdirectories and the files inside. You do not have to fiddle with "root" user. Just run the following : ...


-1

Open your terminal and change to root user (else sudo would do) First take a backup of current home directory of yours. Then paste as sudo chown -R youusername:yourusername /home/yourusername That will again makes you true owner of your home. Replace yourusername with your username. let me know if any issues.



Top 50 recent answers are included