Debian :: How To Remove Sudo

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


ADVERTISEMENT

Ubuntu :: Make Sudo Act More Like The Debian Sudo?

Jul 2, 2011

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

View 8 Replies View Related

Ubuntu :: Can't Remove File With Sudo?

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

Ubuntu :: Removing The Firefox (after Sudo Apt-get Remove)

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

Ubuntu :: Sudo Apt-get Remove Gnome Session Errors

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

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 View Related

Ubuntu :: Use Sudo Apt-get Autoremove Will Remove All The Mentioned Packages Including Freemat

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

Ubuntu :: Sudo Apt-get Install Chromium - 0 Upgraded 0 Newly Installed, 0 To Remove And 0 Not?

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

Fedora :: Remove The Sudo Command Software Packages Without Damaging My System?

Apr 2, 2010

Remove the sudo command software packages without damaging my system?

View 9 Replies View Related

Ubuntu :: Clean Old Kernel "sudo Apt-get Remove Linux-image-2.6.32-29-generic"

Mar 18, 2011

i use the command to get the infomation of my linux kernel; sudo dpkg --get-selections|grep linux use this cmd to delete the old kernel sudo apt-get remove linux-image-2.6.32-29-generic but i forget --purge that cause zhe following item show like this linux-image-2.6.32-28-generic deinstall

View 1 Replies View Related

Ubuntu :: Sudo Ifconfig Eth0 Down Vs Sudo /etc/init.d/networking Stop

Jun 10, 2010

explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?

Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop

View 3 Replies View Related

Software :: Pam_start Error 26 \ Use Sudo Su And Add An Account To A Group What's Allowed To Use Sudo?

Jan 2, 2011

I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:

Code:
ldd /usr/bin/passwd
and

[code]....

View 4 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

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

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Debian :: Sudo Command Not Working?

Mar 29, 2011

I installed Debian6 but sudo does not work, says: bash: sudo: command not found. and when I run the command: sudo apt-get install, I say E: Unable to locate package sudo.

View 9 Replies View Related

Debian :: Enable Sudo Command On 8.0

May 23, 2015

[URL] .... On ubuntu sudo command works out of the box. Is above how you make sudo command work on debian 8?

View 6 Replies View Related

Debian :: Cannot Use Sudo Although Su And Gksudo Works

Sep 27, 2015

I am trying to use sudo but it prompts that the password is wrong.

When I try to use gksudo everything is fine. I also can use su - without a problem.

I tried to add my user to sudoers and it seemed to work as you can see here:

Code: Select allronel : sudo root adm cdrom floppy audio dip video plugdev users netdev lpadmin

but it did not change the situation.

View 3 Replies View Related

Debian :: Can't Get Sudo / Admin Privileges

Jan 11, 2016

receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:

1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).

2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.

I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.

View 14 Replies View Related

Debian :: Sudo Apachectl Will Not Execute?

Oct 1, 2010

I finally got my path to save so apachectl is in my path. I can execute apachectl start as a regular user, although the server wont start because there is some sort of lock. When I sudo apachectl start , I get sudo: apachectl:command not found. My visudo file looks like this:Defaults env_keep += "PATH"

User_AliasOWnER=blake
root All=(ALL) ALL
OWNER ALL= NOPASSWD:ALL

View 14 Replies View Related

Debian :: Sudo Command Not Found?

Mar 5, 2010

I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.

View 3 Replies View Related

Debian :: Can't Sign In Using Sudo In Terminal

Jul 23, 2010

I'm having trouble signing in using the sudo in the terminal.

I enter in the line: sudo abc (username = abc)

I get the line returned: [sudo] password for abc:

If I enter my normal login pw i get the message:

abc is not in the sudoers file. This incident will be reported.

If I enter the root pw I get the message: Sorry, try again.

I've just set up the debian OS and am trying to learn the linux way but it's a bit frustrating. so when I set up the system originally It had me make two passwords one for root and one for my user acct. So how do I get the sudo terminal to work?

View 2 Replies View Related

Debian :: Add 'sudo-ed' Command On Startup?

Sep 21, 2010

what is the easiest way to add single command to startup? (has to be run as root)

View 1 Replies View Related

Debian :: Sudo Tab Autocomplete Does Not Work

Jun 10, 2011

When I use sudo, command does not auto-complete with 'tab'. Perhaps its some sort of security measure? I'd like to turn it off, because its just annoying. Older versions of debian didn't have such problem. Using debian_testing_amd64.

View 4 Replies View Related

Debian :: Pass A Textinput From Xmessage To Sudo?

Oct 26, 2010

As seen in this thread: viewtopic.php?f=20&t=50703xmessage is queuing a shutdown/reboot command, but if pressed, nothing happens. How do I get xmessage to send a textinput value to sudo?odify my execIsuma code to suit if you can, would make things much simpler.

View 8 Replies View Related

Debian Configuration :: Kdesudo Error (same For Sudo)

Sep 21, 2015

Seems like this is a running issue. also, sudo returns "The value user is not in the sudoers file. This incident will be reported" kdeusu just makes a noise and returns nothing.. In the past i had a workaround of using nautilus, but, nautilus seems to be missing from jessie repo (same for gnome files).

[URL] ... ssoo... this happened and it seems to be going somewhere, but, i can't really make sense of it, and there was no solution..

Also found this [URL] .... and the pathnames should be fine but i don't want to go around arbitrarly entering commands

There was also [URL] .... which only mentions using kdesu which... doesn't really 'exist' anymore.

View 4 Replies View Related

Debian Configuration :: Prevent Users From Using Su / Sudo

Jul 24, 2010

i would like to prevent all users other than the user "parker" on my system from using the su or sudo commands. I have not attempted to modify the sudoers file so it just contains the standard root ALL = (ALL) ALL.

View 5 Replies View Related

Debian :: Reboot/shutdown Command Without Sudo?

Mar 11, 2011

I've added entries to my Openbox menu labeled Reboot and Shutdown. Problem is, reboot and shutdown h only work as root, and I never login as root. I've tried su-to-root -c reboot, but the menu entries remain unresponsive. I do not have sudo installed because I feel it is a security issue. However, I found that sudo reboot works with the menu entry, but only if my account is set to use sudo without a password in /etc/sudoers. I use tint2 as my panel, but have had no luck with finding a shutdown/reboot button.

View 4 Replies View Related

Debian :: Sudo No Tty Present And No Askpass Program Specified?

Apr 28, 2011

I am running an Ubuntu Server 10.10. I have installed Apache2, I put my perl script in /var/lib/cgi-bin. When I run this perl script from the terminal it works fine. When go to a web browser it doesn't. When I look at Apache's error log, I see this line :"sudo no tty present and no askpass program specified"I tried editing the sudoers file, with the user www-data ALL=(ALL) NOPASSWD:/path_to_my_script. But nothing changed. What am I doing wrong?

View 5 Replies View Related

Debian :: Program Path For Openvpn And Allow Sudo For Guest

Nov 8, 2015

I'm looking to allow sudo for openvpn for a user.

I cannot find the openvpn program path though, i try a 'which openvpn' command and it returns nothing! :S

What is the path? or how to allow a normal user account to run openvpn with sudo?

Solution found:

Working directories for openvpn on debian 8 are:

/etc/openvpn
/usr/sbin/openvpn

To add sudo capability to a guest account, run this with your admin account:

Code: Select allsudo visudo

then add the line, with your guest username substituted:

Code: Select allusername    ALL=/etc/openvpn, /usr/sbin/openvpn

tada! guest account now runs only openvpn.

View 3 Replies View Related

Debian :: Autologin And Update / Without The Password(s) / Su/sudo To Execute?

Oct 28, 2010

I have succesfully installed Debian with gnome-core, iceweasel and other useful packages and also followed this guide to autologin and start X. I noticed that the sudo chmod +s /sbin/halt and adding /sbin/halt
in ~/.bashrc made Debian refuse me to log out (from X) and 'log out' turns off the computer insted.Removing /sbin/halt from .bashrc turned everything to as i want it. Should I "repair" or remove something I created with chmod +s command or should I leave it as it is?

Also I would like apt-get(or aptitude) update to run after login (and before startx), so i added sudo apt-get update to .bashrc but it will prompt me with password. Is there someway I could do this without the password(s) which su/sudo needs to execute? This is not so important but it would be very nice to update the system on startup.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved