6
votes
2answers
697 views

How do I work around sudo 'segmentation fault' on basic bash commands?

I am sure the answers are out there, but alas there are too many answers (here and elsewhere) to other questions stopping me from finding them. I just encountered something substantially similar to ...
5
votes
4answers
76k views

how to use sudo command to install .tar.gz? [duplicate]

Possible Duplicate: How to install a .tar.gz (or .tar.bz2) file? I am newbie to ubuntu. I would like someone to explain how to use sudo command to unzip & install .tar.gz file to me.
1
vote
2answers
257 views

Upgrade process interrupted; can't boot and need to recover protected data

I was using Ubuntu 11.04 and upgrading to 11.10. While the installation process was going on I shut it down. It can't come on again by itself. It will end up showing the status line "checking battery ...
4
votes
1answer
4k views

How to allow execution without using the sudo?

I am writing a Java application where i need to do a command line execution and get a result back, but when i execute the command, it ask for sudo password. So far i tried: $ sudo -s $ vim ...
4
votes
2answers
2k views

Allow user to execute sudo commands

I've looked at Add user to "sudo" group and added user (say 'abc') to sudo group But now when user 'abc' tries to use sudo commands ubuntu says, 'abc' is not in sudoers list, this incident ...
1
vote
2answers
667 views

How do I get Unity to launch “Log File Viewer” as root?

By default, "Log File Viewer" is not launched from Unity as root in Ubuntu 11.04. This is pretty useless, as most of the log files are only readable by root. How can I change this behavior so that it ...
10
votes
2answers
11k views

Environment variables when run with 'sudo'

As example to my question, my ~/.bashrc file contains this lines: > export LD_LIBRARY_PATH=/opt/intel/mkl/lib/ia32:$LD_LIBRARY_PATH > export LD_PRELOAD=/opt/intel/mkl/lib/ia32/libmkl_core.so ...
5
votes
4answers
7k views

How to give shutdown privileges to a user?

I am using Ubuntu 11.04. I want to run a script which checks for a running process and shuts down the system when that process ends. To do this, the user requires shutdown access so that the script ...
0
votes
1answer
485 views

Is there a way to never have to put in your password after you have logged in? [duplicate]

Possible Duplicate: How to make Ubuntu remember forever the password after the first time I put my password in when I log in but after that I don't want to type it again. When I use my ...
21
votes
1answer
14k views

after upgrade gdb won't attach to process

I just recently upgraded from 10.04 to 11.04 and gdb won't allow me to attach to processes anymore I get the error Attaching to process 10144 Could not attach to process. If your uid matches ...