Ubuntu Security :: Remove 'sudo' Via The Software Center?
Jul 10, 2011
I've installed Ubuntu via UNetbootin from USB on my child's computer. It comes by default with the sudo command which I find really annoying to work with. I'd rather have my su command.
Now, while googling for a removal instruction, I've read that the sudo command is tied to system functions on some Ubuntu live systems and can't be removed easily. Does anyone know if this applies to the 10.04 live version used by UNetbootin and how to work around this problem?
If not, is it simply enough to remove 'sudo' via the software center? I find many tutorials on how to switch from su to sudo but not much about the other way around.
View 7 Replies
ADVERTISEMENT
Sep 16, 2010
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.
View 1 Replies
View Related
May 29, 2010
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?
View 14 Replies
View Related
Aug 30, 2010
Okay, so my problem is that I can't get rid of some repositories on the left side of the Ubuntu software center.
I've gone to Edit > Software Sources and unchecked everything in Other Software, rebooted and still they remain. I then went into /etc/apt/sources.list.d/ and deleted the offending .list files, and they're still there. How do I get rid of them?
View 3 Replies
View Related
Jun 13, 2011
I have an HTPC box that I'd like to make a bit more accommodating to the other folks in my apartment. Is it possible to allow them to install and update software without entering a password? Obviously, I wouldn't want to open access to the repo list or packages from the web.
View 4 Replies
View Related
Dec 5, 2010
I have googled it and found 100 pages on this. They all suggest either:however, I am scared to run any of theses. Will that first one remove "kde updates" from my ubuntu software center? Will it break anything else on my desktop?
View 1 Replies
View Related
Mar 28, 2010
After working with the Install center for a couple of months with no problems I just woke up to find my Install and Remove buttons are not working. They don't give any errors, they just don't do anything when clicked
View 2 Replies
View Related
Feb 23, 2010
I have this nasty file that eats away my very soul, since I can not remove it.When I try the following I get this output:
Code:
sudo rm -rf 1
rm: cannot remove directory `1': Directory not empty
Code:
ls *
ls: cannot access the filename png: No such file or directory
Code:
[Code]...
View 3 Replies
View Related
Dec 3, 2010
I'd like to buy some stuff from the Software Center but I don't see how to confirm a valid certificate or see any indication of a secure connection on the screen where I enter my credit card info. Of course, I'm sure the page IS secure because who would design it otherwise (especially considering how our patron made his first fortune), and I could sniff out the network connection, but I don't see any information provided to the end user.
It seems like it could open up Canonical to all sorts of legal issues to not have security info and a privacy policy easily available in the payment section of the USC. Maybe it's there and I've missed it somehow. maybe it is on the next page, but I didn't press the "submit" button.
View 4 Replies
View Related
Oct 12, 2010
I sudo apt-get removed Firefox from my system in favor of Google Chrome. However, Ubuntu still prompts me to upgrade Firefox. How do I stop that? Also, whenever I click on HTML files, Firefox is still the one that loads by default. How can that be if I've sudo apt-get removed it? And Firefox is still in my Applications->Internet menu... So, was my sudo apt-get remove successful?
View 1 Replies
View Related
Jun 6, 2010
I want to remove sudo so may existing user can only use su.But sudo is associated with dependence`s gnome and many more.How to remove damned thing Can i just remove sudo and then reinstall those 14 package`s, will this work ?
[18:21:47]madone~ $ sudo aptitude purge sudo gksu
Reading package lists... Done
Building dependency tree
[code]....
View 8 Replies
View Related
May 30, 2011
This is the error I get when removing gnome-session:
alex@alex:~$ sudo apt-get remove gnome-session
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
ubuntu-desktop : Depends: gnome-session but it is not going to be installed
Recommends: banshee-extension-ubuntuonemusicstore but it is not going to be installed
Recommends: gnome-accessibility-themes but it is not going to be installed
Recommends: ubuntuone-client-gnome but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
And this is what happens when I do apt-get -f install:
alex@alex:~$ sudo apt-get -f install
[sudo] password for alex:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
xulrunner-2.0-mozjs
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
gnome-session
Suggested packages:
desktop-base
The following packages will be upgraded:
gnome-session
1 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/11.8 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 250821 files and directories currently installed.)
Preparing to replace gnome-session 3.0.1-0ubuntu1~build2 (using .../gnome-session_3.0.2-0ubuntu3~natty1_all.deb) ...
Unpacking replacement gnome-session ...
dpkg: error processing /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb (--unpack):
trying to overwrite '/usr/share/xsessions/gnome-shell.desktop', which is also in package gnome-shell 3.0.1-0ubuntu1~build1
Errors were encountered while processing:
/var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 9 Replies
View Related
Nov 7, 2010
have around 20-30 HP and Dell Hardware where we have attached Pen Drive. There is no Rack-lock facility. A misuse of Pen Drive is reported and it happens every alternative day that someone unplug and theft the drive attached.There is no camera facility to monitor.I have a plan to write a script which will login to every machine through ILO and watch the USB availability. In case anyone dettach the USB, a mail will be sent to the administrator and thereby the steps could be taken.Does this idea look feasible.
View 13 Replies
View Related
Aug 21, 2010
From the terminal I got this message: The following packages were automatically installed and are no longer required: libqt4-opengl freemat freemat-help libgfortran3 libsdl-ttf2.0-0 libmikmod2 libqt4-svg libblas3gf libamd2.2.0 libsdl-mixer1.2 libumfpack5.4.0 freemat-data libsmpeg0 Ok, what I really don't understand is that why is it that Freemat, my most important software, is listed as "no longer required"? Of course if I use sudo apt-get autoremove will remove all the mentioned packages including Freemat.
View 2 Replies
View Related
Oct 10, 2010
ran sudo apt-get install chromium, it seemed to install, i closed terminal, couldnt find it under apps, ran the command again, and am now getting this? sudo apt-get install chromium chromium is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
View 3 Replies
View Related
Oct 10, 2009
If I leave the computer running for a few minutes without doing anything on it, this screen appears demanding that I enter my password, otherwise I can't get back to Fedora. I understand the necessity for this security feature in a work environment, but I'm just a home user and this security screen is just a nagging problem I don't know how to get rid of.
View 1 Replies
View Related
Apr 2, 2010
Remove the sudo command software packages without damaging my system?
View 9 Replies
View Related
Apr 9, 2010
I just read an article saying some unflattering things about Ubuntu's use of sudo. My question is this true?[URL]..
View 6 Replies
View Related
Jun 7, 2010
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?
View 3 Replies
View Related
Jun 14, 2010
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.
View 9 Replies
View Related
Oct 18, 2010
At the terminal prompt, I can't login using su nor sudo. I can only login as root at the dialog level. How do I correct this?
View 6 Replies
View Related
Mar 22, 2011
why when I type sudo su in a terminal there's no need to enter my password, I just go straight into root
View 5 Replies
View Related
Apr 1, 2011
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.
View 3 Replies
View Related
May 30, 2011
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.
how to remotely administer a 11.04 desktop?
View 2 Replies
View Related
Mar 7, 2010
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.
View 4 Replies
View Related
Sep 3, 2010
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?
View 1 Replies
View Related
Nov 16, 2010
Users of Lacie's 4L which is used to burn labels for your Lightscribe disks, are required to have the app run with sudo privileges, (the command being: gksudo 4L-gui). On an older version of an Ubuntu install, I had it set up so that it did this automatically, without it, (or me), being asked for a password. I thought it was something I added to the sudoers file, to give 4l-gui automatic authority, but I forgot how i did it.
View 2 Replies
View Related
Jul 19, 2011
So, I'm not quite sure what the difference is? Is it that sudo allows you to "borrow" superuser privileges, whilst su allows you to actually log in as superuser? Also, when I sudo [command] and get prompted for a password, after I input it, things work just fine, but if I su, and then get prompted for a password, I can't log in as superuser... Why is this?
View 9 Replies
View Related
Jan 5, 2010
Like many (most?) home users, until now I've had my regular userid in sudoers as "ALL = (ALL) ALL". It occurs to me that, even though my machine has no open ports, this is probably not a good idea - just in case my firewall suddenly burns down. So, if my thinking is right on this, I'm wondering if there is a generally approved list of Cmnd_Alias entries? At this point, I've decided to only add entries as I use them, and to try to honestly appraise my need to do the entry as sudo, vs opening a virtual console as root. My root password is non-trivial.
View 3 Replies
View Related
Apr 5, 2011
Consider: [URL]
In security terms, would using sudo instead of root be safer? I'd actually prefer to use this if so; I like sudo an awful lot. (It's Mark Shuttleworth's fault)
View 10 Replies
View Related