What are the differences if I build (./configure, make, make install) an app when log in as root vs a "regular" user other than I have to use sudo for make install? If an app is built from a non-root account, will it be available to every other user on the system?
my son is 15, autistic and mentally retarded. he is moderate-low functioning and loves to watch barney the dinosaur, thomas the tank engine and other young children's programming on videos on his computer. he can talk in a limited way and can read out loud at about the first-grade level, though he seems to have little or no comprehension of what he's read (hyperlexia).i'm having problems with viruses and spyware because he lacks the judgment that keeps the rest of us from clicking on every window that pops up. we've had a particularly nasty crop of ad-ware viruses lately that pops up graphic porn ads even when the browser is closed. i've had enough of this.
the computer is an ancient dell dimension 4600 desktop (circa ~2002) running windows xp. i've run ubuntu from a live cd and installed flash as a test. videos videos play fine, so that's not a problem. i don't really want to replace the computer becasue it still works and is only used by him to run firefox. i am willing to buy a new computer if that turns out to be the only option.i've been using ubuntu exclusively on my laptop for several years and i would like to remove windows from his computer and replace it with ubuntu. i'm wondering how i can make his computer as accessible as possible to him while not sacrificing too much security.my son has very poor fine motor control over his hands. he can use a mouse with some difficulty, but using a keyboard is out of the question. he can use the mouse to click on the shortcuts to his favorite videos, but i can't think of how he would be able to enter a password for his account. not only does he have the fine motor problem, but he is not able to remember any usefully secure password.
does anyone have any ideas about how to make his computer accessible to him without opening a gaping security hole? two ideas that i've kicked around are creating a user with absolutely the minimum privileges required to use firefox and no password or finding some way to enter a password that doesn't require a keyboard. i haven't come up with how to implement either of those ideas successfully.
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
I am new to fedora (been using debian based distro's for the longest time). With the new release I decided to give FC13 (The kde 64 bit spin) a try. I told it to wipe my entire hdd and encrypt the partitions. The partition manager made a few LVM partitions which I assume are encrypted.
The problem I am having is that if I attempt to use an application that would normally need root access to run, I am not prompted to enter my root password. Instead, I am required to logout and log back in as root. Is there a way to make it so that FC13 will prompt me to enter in my root password so I do not need to log in and out? Or is there something Different I should have done during the install process? Also, what is the terminal equivalent of "sudo" in fedora, or is it still sudo/KDEsudo
I also have not used SE Linux before. Do I need to manually enforce the permissions for my applications and generate my own profiles for it, or is that done automatically?
So installing a programm is a problem. I like to install Aqualung. "/.configure" works. But "make" seems to be not installed. "checkinstall" seems to be not installed "sudo apt-get make" does not work. I have no internet connection with linux, because I have no idea how I install the network card. I guess this sudo command use internet? Is there another way to compile that program? (And just by the way, why must this be so difficult?
I'd like to start a background job using the sudo command and route its output to a file. This presents a problem because the prompt for the password doesn't work properly. It looks something like this when I try it:
Basically I'm not properly prompted for the password and as soon as I type anything in my background job fails because it didn't receive the password. Is there any way to execute a sudo command by supplying the password on the same line as the command?
Code: sudo shutdown now command does not shut the computer down
When the command is typed a, all the programs are closed and proceeds to shut down. But after some time, screen gets stuck(plymouth animation stops moving). But the computer is still working. Fan is running , Power LED is on. LED showing hard disk usage blinks at equal time interval. There is no problem in shutting down using the button on panel. So I suppose it is not a hardware problem. More over there is no problem in windows. The graphics card is Nvidia Geforce 7300GS. I am using proprietary Nvidia driver.
I'm currently writing a little script that gets a random image from the xkcd website and then sets it as the desktop background. I grab the picture with wget, and to prevent the script from spamming by creating a new file for each image the new picture always gets downloaded to "wall.png". Apparently this is a problem for gconftool-2. When I run the following command for the first time, the background changes:
But if I run my script, and then run the same command again nothing happens. It seems like gconftool-2 does not change the background if the filename stays the same even though the picture changes.
Things I tried but that don't work:setting the backround to a dummy location and then setting it to wall.png unsetting the value first, and then setting wall.png as background
I could always download it to the actual filename, set that file as the background and then move that file to wall.png or delete it. But I'm wondering if there is a way to "smart up" gconftool-2.
Yesterday my gnome gui locked up during startup. there is a problem with the "gnome power manager" package.
I get a pop-up saying "The configuration defaults for GNOME Power Manager have not been installed correctly. Please contact your computer administrator."
Tried:
When trying to reinstall the gnome-power-manager package, I get the following error: gconftool-2 symbol lookup error: gconftool-2 undefined symbol gconf_schema_set_gettext_domain
After a fresh boot of a Live CD, how do I use the gconftool command to edit: Code: /root/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml ??
I tried: Code: mint@mint ~ $ sudo su mint mint # gconftool --load /media/scripts/gconf/gnome-terminal/custom.xml mint mint # gnome-terminal
No changes were made after I opened a new gnome-terminal. It works fine if I'm not in superuser mode and makes the changes to Code: /home/mint/.gconf/apps/gnome-terminal/profiles/Default/%gconf.xml just fine. What am I not getting here?
Tried to create a data DVD the first time and another surprise. Very slow to write. On a dual boot system, it takes Windows 7 ten times less to do it. When i tried to folllow the ideeas from forums, i couldn't find Brasero in /apps/ with gconftool or gconf-editor. With Nautilus i get the same low speed.
so i just bought a new Sony Vaio laptop and things are seeming to run great. However, there is one issue: when i go to restart or shutdown the computer, the graphical interface goes away like it should, it goes to CLI and does it's shutdown routine....the problem occurs about 2 seconds into the routine, when it just stops. it doesnt shutdown or restart, but stays in the CLI with a blinking cursor. if i allow it to set for a couple of minutes, a message pops up that says something like this, "BUG: soft lock up CPU0 CPU1 stuck, blah blah". any ideas on what this is or what is causing this? the laptop has the i5 processor in it, just in case that matters
Certain commands like: fdisk -l nmap -sT 192.168.0.1/24 iftop
require administrator privileges to run. A while ago i read a post(forgot where i read it) about being able to let a user run these commands in a script (that contains the desired command) created by the administrator/root without the user having to do a sudo and entering a password. Does anyone know how i can go about doing this?
I've enabled root under Ubuntu (i know frowned upon), I'd like to change the default behaviour of sudo so that rather than requesting my password (the password I logon with), it requires the root password.
Have searched the forums but can't find the answer.
I am using Ubuntu 10.04-alternate-amd64 for full disk encryption. After getting my updates which i get as soon as they are released. I am getting the issue temp root (sudo) password is not being revoked. After using any app that requires the use of sudo the permission for it does not get removed like it normally does.
I have tried logging out then back in, which usually removes the permission, this no longer works, also tried waiting and even after 1 hour permission still there. The only work around I have found is to use the terminal to execute the required programs then after closing terminal the temp permission is now removed like it should be. This issue has effected all of my systems and a friend of mine as well, (friend uses same distro).
To replicate issue:
1) Boot system. 2) Login. 3) Check for updates or any other app that uses root permission. 4) Logout 5) Login 6) Repeat step 3 7) App will not ask for permission it will use root permission automatically.
When I access a remote Natty client using VNC I cannot use the sudo command in a terminal. In fact, the terminal closes itself as soon as I type the sequence sud. Even su d. Or su d.
Sua, su a, su c, su e do not cause the terminal to close itself.
This appears to be some sort of new security "feature".
How do I "work around" it?
[edit] I'd better elaborate.
I have a remote Natty running 11.04 64-bit desktop version. I have installed tightvncserver on it. I log in on 5901 from a Ubuntu 10.04 64-bit desktop using vinagre. The desktop works fine except when I open a terminal in it and type sud. As soon as I type the d the terminal vanishes. This appears to be a deliberate feature. I also log in to other clients that run 10.04 and this does not happen. I have run Mint 11 in VirtualBox on my local machine and created the same remote desktop and viewed it from mint 11 itself. Same thing happens.
It seems to me that 11.04 has been modified to kill a terminal that is part of a VNC display when sud are typed.
My first post. I've been using Ubuntu Server edition (Hardy) happily for some time now.
I use sudo regularly during configuration of new services. It always works/authorises within seconds, however, it recently became very slow, to the point of being nearly unusable.
In /var/log/auth.log I noticed a regular working pattern like this code...
When I run sudo as a normal unprivileged user, it asks for my password, not the root password. That's often convenient, but it reduces the amount of information someone would have to have in order to run commands as root. So how can I make sudo ask for the root password instead of the invoking user's password? I know it'd be done with a line in /etc/sudoers, but I can never seem to properly parse the BNF grammar in the man page to figure out exactly what to write.
In a rage of anger against VI I decided to open my firewall config file in gedit, made some changes and was then confronted by the fact that it was read only. I decided to change the permissions for the whole of the /etc folder with: Code: sudo chmod 777 /etc/*
This also changed /etc/sudoers so that now whenever I try to use sudo I get the error: sudo: /etc/sudoers is 0777, should be 0440 segmentation fault I cannot change it back to 440 because I need sudo to do that.
I'm trying to configure my SUDO entries, for this I've added the next lines:User_List ADM = usernameADM ALL=(ALL) NOPASSWD: ALLWhen I close and save the file sends me the following warning>>> /etc/sudoers: syntax error near line 12 <<<visudo: Warning: User_Alias `ADM' referenced but not definedhat now?