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


ADVERTISEMENT

General :: Get The Autocomplete Work For HTML Code With Geany IDE?

Oct 2, 2009

How to get the Autocomplete work for HTML code with geany IDE?

View 1 Replies View Related

Debian :: Login Via SSH - Bash Autocomplete Stopped Working

Feb 3, 2011

For some reason my bash autocomplete stopped working. I get the error when I try to cd into a directory, pressing <tab> for autocomplete:
cd A-sh: <( compgen -d -- 'A' ): No such file or directory
Autocomplete works for the root user and for the other user on the machine, just not logged in as this user. The .bashrc file looks fine to me, and I didn't make any changes to it to even cause the bash autocomplete to stop working (as far as I know).

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
What else could cause autcomplete to stop working? I log in via ssh, btw.

View 11 Replies View Related

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

Debian :: Checkinstall" Seems To Be Not Installed "sudo Apt-get Make" Does Not Workcheckinstall" Seems To Be Not Installed "sudo Apt-get Make" Does Not Work

Feb 12, 2011

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?

View 3 Replies View Related

Ubuntu :: Sudo Apt-get -f Doesnt Work?

Jan 9, 2011

i'm havng issues

Code:
bahie@bahie-laptop:~$ sudo apt-get install screenlets python-rsvg
[sudo] password for bahie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-rsvg is already the newest version.

[Code]...

View 7 Replies View Related

Ubuntu :: Su Command Won't Work, But Sudo Will?

Oct 16, 2010

I was attempting to install the fglrx driver on my new ubuntu insallation, following a guide I found from google. At one point it says I need to login as super user, so I tried and no matter how many times I try it just keeps saying authentication failed. I even tried typing in my password with 1 finger, multiple times, every single time, authentication failed. So I decided to try the sudo command with fdisk -l, worked flawlessly. Tried the su command again, authentication failed, I have no idea what in heck is causing this but it just won't stop happening.

View 1 Replies View Related

Fedora Hardware :: Sudo Does Not Work With Fingerprint (SU Still Do)

Jan 20, 2010

Since yesterday my sudo doesn't work with my fingerprintreader anymore. su and GDM still do. sudo just asks me for the password instead of asking for a finger-swipe. AFAIR I changed nothing, but I accidentally forwarded the USB-Port on which the scanner is connected to VMware. I disconnected it, but maybe there could be the problem.
Fedora 12 x64, Thinkpad T61 integrated Fingerreader.

View 4 Replies View Related

Ubuntu :: GCC-4.x Dosent Work \ When Type In Sudo Apt-get Gcc-4.x This Happens?

Jul 3, 2011

when i type in sudo apt-get gcc-4.x this happensE: Invalid Operation gcc

View 2 Replies View Related

General :: Sudo Command Doesn't Work

Oct 17, 2010

I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? below is the output of terminal:

@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4
Reading package lists... Done
Building dependency tree

[Code].....

View 4 Replies View Related

General :: Ubuntu / Sudo Also Doesn't Work

Jun 30, 2011

I have ubuntu server 8.x which works Ok but the other day I changed the owner of some files "the directory /etc" from root me. Now a lot commands do not work like reboot and such. So I tried to put ownership back to root and I can't. I say I dont have proper privilege. Sudo also doesn't work. I conect to the server using ssh with putty. What could I do to fix the problem? Update to the new version? This server has been working really well for a few years. The reason I changed the owner of the directory to myself is so I could edit some config files from my windows machine using a FTP client like WinSCP.

View 3 Replies View Related

Fedora Installation :: Getting Sudo Insults To Work - Not Built Into The Rpm

Jan 21, 2009

I'm running into an issue on my fedora installations getting sudo insults to work. I'm fairly new to the distro, but in other distros, I just had to add insults to the Defaults line within visudo. Then I could sudo -K to reset my sudo session and it worked.

Since I installed sudo from yum, I suppose it's possible that insult support is not built into the rpm. I'm sure others got it working and I was hoping not to have to manually compile sudo with insults support as I don't want to break yum for updates/upgrades. If that's the only option, I'm more than happy to go that route, just would like it as a last resort.

View 1 Replies View Related

Ubuntu :: Getting Keebox W150nu To Work With 11.04 - Sudo Password

May 9, 2011

I'm a totally new Linxu/Ubuntu user and terrified of command prompt/terminal. But I'm trying to get my Keebox W150nu to work with 11.04 and following Chili's suggestion on doing so, but ran into an early problem:

robert@lawsonbox:~$ ndiswrapper -1
The program 'ndiswrapper' is currently not installed. You can install it by typing:
sudo apt-get install ndiswrapper-common
robert@lawsonbox:~$ "sudo apt-get install ndiswrapper-common"
[sudo] password for robert:

At that last line I am stumped. I can't input anything, no matter what key I press nothing is showing up there. If I knew the password I wouldn't be able to put it in! Do I hit an F key or what at this stage?

View 9 Replies View Related

General :: Aliases Work After Running Sudo SU Command?

May 7, 2010

I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?

View 2 Replies View Related

General :: Why Doesn't 'sudo Gedit' Work In Vinagre

Oct 13, 2010

I've set up a low cost box with Ubuntu Lucid Lynx at home behind a router, and managed to get remote access running. My goal is to be able to host a small website and work on it remotely, so I isntalled ftp (vsftpd). When I tried to edit the vsftpd.conf file in Vinagre from work, I could only open it read-only, no surprise. When I tried 'sudo gedit' or 'sudo gedit /etc/vsftpd.conf' from terminal in Vinagre, I received the prompt for the password to elevate privileges (again, expected); however, after I hit Enter, nothing happens. I've tried a bunch of different things, but I can't get it to work. I can stop & start my ftp service with 'sudo service vsftpd stop/start' and it seems to work fine.

View 2 Replies View Related

Ubuntu :: Using Terminal Autocomplete (Tab) With Apt-Get?

Feb 2, 2011

I'm having an issue when I run apt-get and try to use autocomplete. It seems to only happen when I try to remove or install certain items - like gwibber, gnome stuff, etc. So let me show you what happens:
Code:
user@mycomp ~ $ sudo apt-get remove gwigrep-status: /var/lib/dpkg/status:13456: expected a colon .
So I typed in gwi pressed tab and it came up with the /var/lib/dpkg/status:13456: expected a colon (newline) .

View 2 Replies View Related

OpenSUSE :: Sudo Gedit Doesn't Work - Cannot Open Display

Nov 7, 2010

I am trying to edit a postinfo.xsl in my root file dir, and with the command:

frank@linux-avnb:~> sudo gedit

(gedit:14150): Gtk-WARNING **: cannot open display: frank@linux-avnb:~>

I get the following. what am i doing wrong?

View 3 Replies View Related

General :: Make Shared Keys .ssh/authorized_keys And Sudo Work Together?

Jul 15, 2010

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:

$ sudo cd /root

it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using

$ passwd -l user

I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).

For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.

1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this

2) I've adjusted the sudoers list visudo and added

root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL

3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)

The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.

View 3 Replies View Related

Ubuntu Installation :: Error Getting Sudo Yum Update To Work / Resolve This?

Jul 12, 2010

I'm having a problem with this command: sudo yum update
I get the error: "Loaded plugins: presto refresh - packagekit
error:no such table: packages.

I created a group using vi /etc/sudoers
saved it using :wq!

but can't get it to work.

View 3 Replies View Related

Ubuntu :: Bash Sudo Scripts Fail To Work After Install Of 10.04

Aug 4, 2010

I had some bash scripts on Ubuntu 09.10 (mint version) that fail to work on Ubuntu 10.04. The line that fails is the following:

Code: # cat file_with_my-password.txt > sudo -S something cat: invalid option -- 'S' Try `cat --help' for more information. In my case "something" mounts some filesystems (that fail to load from fstab - bios "fake" raid 10), but I get the same error for any sudo command. It is the same script that used to work under 09.04 :-/

View 2 Replies View Related

OpenSUSE :: 11.4 - Konsole Tab Autocomplete Feature

Mar 13, 2011

I notice that in 11.4 when I try to autocomplete (Tab Key) to /etc or /etc/init.d/ it auto completes differently than the way it did in other 11.x openSUSE versions. i.e.
Code:
sudo /et
Then hit tab; it auto completes to /etc (space on the end of it)

Also,
Code:
sudo /etc/init.
Then hit tab; it auto completes to /etc/init.d (space on the end of it)

If I simply try:
Code:
/et
Then hit tab; it auto completes properly to /etc/

View 3 Replies View Related

Ubuntu :: Tab Autocomplete Stopped Working?

May 4, 2011

I did a bunch of uninstalls and reinstalls lately, trying different distros. Now I'm back to Ubuntu but tab autocomplete in terminals doesn't work anymore. It is quite less convenient now to use the terminal. I tried changing interpreter to /bin/bash and it doesn't work. I use guake.

View 2 Replies View Related

General :: Autocomplete In MC Not Working In USB Keyboard

May 9, 2011

I've a really strange problem with the auto-complete in midnight commander. I've linux installed in a laptop, and when I do Esc-TAB with the keyboard of the laptop, the autocomplete works. But, if a connect an USB keyboard to the laptop, the autocomplete of the mc doesn't work in the USB keyboard, but stills work in the laptop keyboard.

View 1 Replies View Related

Software :: How To Get Autocomplete Function Back (Apt-Get)

May 27, 2010

I used to run Sidux and every time I wanted a package I could use the auto-complete with tab like I'm used to in BASH. My girlfriend uses Ubuntu and it didn't work there. Now I switched to Debian, and it doesn't work there either. I tried the usual suspects (man bash, man apt, man apt-get, info, --help and google). How I can switch the completion back on?

View 2 Replies View Related

Ubuntu Security :: After Booting Up From The Restored Filesystem - Sudo Would No Longer Work

May 28, 2010

I'm having some trouble using sudo - it did work fine, but now when I try to use it, I have the following error:

I understand that I have to modify /etc/sudoers but need to have root access to do this. I am using a bootable USB (lucid) with persistent changes and am unable to login as root, because I don't know the default root password, and am unable to use sudo to change it.

The problem occurred after I had some corruption to the casper file system, so I booted into Windows, moved the casper-rw file to another location on my flashdrive, and used a 1GB backup filesystem to repair the corrupt one using fsck.

After booting up from the restored filesystem, sudo would no longer work.

View 9 Replies View Related

Ubuntu :: Install Boost Library - Sudo Apt-get Libboost Didn't Work

Apr 9, 2011

Trying to install e4rat that was on LifeHacker on Friday and have zero idea what I am doing. I have the e4rat extracted to a directory in /usr/local/src The README says that there are dependencies including boost library components. I am fine installing the whole boost library but sudo apt-get install libboost* did not work.

[Code]...

I tried to bang around a little to try to learn something with this but can't get any further.

View 5 Replies View Related

Ubuntu :: Shell - Command-dependent <tab> Autocomplete?

Jul 6, 2010

I was using windows recently and noticed that in their command line, the autocomplete is in some ways a little more intelligent (although based on my short experience ours is more robust); for example, if you have a directory named blah and a file name bl, in Linux "cd bl <tab>" will result in "cd bl" while in Windows I get "cd blah" because it recognizes that blah and not bl is the appropriate argument to cd. Similarly unrar will target rar files first.I am not saying Windows command line is better; Windows command line is in general a piece of junk.

View 2 Replies View Related

Ubuntu :: Evolution Autocomplete Feature (Like Outlook NK2)

Jul 10, 2010

I use evolution a lot during my working day, I work in IT so my work is heavily email driven. I have used ubuntu on my personal computers for a while now and last week decided to migrate my work computer from Windows to ubuntu. For my work email, contacts and calendars I use google apps for business (highly recommended by the way!) and evolution syncs all 3 brilliantly. As outlook uses the nk2 file to autocomplete email addresses when you begin to type them into the to, cc or bcc bar.

I can't seem to enable the same feature in evolution. I have gone into Edit > Preferences > Mail Preferences > Automatic Contacts. I have then put a tick in the check box "create address book entries when sending emails" and I have selected the ubuntu one address book (don't want my gmail contacts being clogged up). After sending some emails it doesn't seem to store the addresses in the 'history'.

View 2 Replies View Related

Ubuntu :: Autocomplete Breaks Ability To Type?

Nov 4, 2010

When I type into a box that auto-completes, the window stops letting me type as soon as a suggestion comes up. I have to tab out of the window and come back to it.

This is mildly annoying for browsing on the internet and almost debilitating trying to use programs like Eclipse.

This occurred for me on 10.04, so I upgraded yesterday to 10.10 and the problem still occurs (and more problems!).

View 3 Replies View Related

Slackware :: Eclipse 3.6 Crashes When Autocomplete Activated

Nov 3, 2010

I use Slackware 13.1 and eclipse 3.6 (Helios). When I do some programming the eclipse is always crashing. E.g.: class c, c.gwtC(); when I write the "." and the autocomplete is activated the eclipse crashes.

View 3 Replies View Related







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