Ubuntu :: Apt-get Command Without Needing User To Type Y To Confirm?

Jan 7, 2010

I am writing an installation script that installs several packages using apt-get. Is there a way to run that command with some sort of option that makes it so the user doesn't have to type Y to confirm the installation? The user needs to be run the script as sudo

View 2 Replies


ADVERTISEMENT

Debian :: Bluetooth Doesn't Pair, No Agent Available For User Confirm?

Jun 15, 2010

I'm using debian lenny (5.0.4) on 3 different laptops, two fresh installs and one was installed with etch and then updated.In the one that has been updated pairing works without any problem, while in both the others it doesn't work. I can see this on syslog when I try pairing from the phone:Jun 15 10:31:02 robertof-lt hcid[17891]: io_capa_response sba=00:22:5F:00:C2:1F, dba=C0:38:F9:D3:29:A3)Jun 15 10:31:02 robertof-lt hcid[17891]: io_capa_request (sba=00:22:5F:00:C2:1F, dba=C0:38:F9:D3:29:A3)Jun 15 10:31:04 robertof-lt hcid[17891]: No agent available for user confirm request

View 1 Replies View Related

CentOS 5 :: The "rm" Command Does Not Prompt To Confirm?

May 10, 2009

When logged as a normal user, the "rm" command does not prompt to confirm.

Is this the default behavior?

View 2 Replies View Related

Ubuntu :: Can't Type User Password In Terminal

Jan 13, 2010

I've been having problems whenever I'm asked for my password inside the Terminal. The most recent one happens when I type this

Code:
ben@ben-desktop:~$ sudo apt-get install flashplugin-installer

It says this

Code:
[sudo] password for ben:

But then I can't type anything. I try to but nothing happens.

View 6 Replies View Related

Ubuntu :: Command To Determine Active User (Not $USER Variable)

Jul 21, 2010

I'm trying to write a small script that will run as root, but launch a command with sudo as another user. I want that user to be whichever user is active user. That is, the user that is using GDM right now, or the one that is logged into the current console. (by current console, I don't mean the user running the script, but rather the user logged into the console currently displayed on the screen.)How can this be done?

Code:

ACTIVE_USER=`somecommand`
test `id -u pulse` -ge 1000 && sudo -u $ACTIVE_USER $*

What can I use for "somecommand"?

View 5 Replies View Related

General :: Set Permission Type On A File To A Particular User In A Group?

Jan 20, 2011

i want to set permission type "write" on a file to a particular user in a group of users ( not all users in that group). chown is changing a user to root , but i want to set say permission of "write" only to a user 1 in group staff which contains 10 users 1 , user 2 ...user 10.

View 3 Replies View Related

Ubuntu :: Network - What Command To Type Into The Terminal To See The Dns Information

Apr 15, 2010

I dont have under system->admin networking, but i do have netwroking tools (I have the latest version of ubuntu) and I am wondering - what command can i type in to the terminal to see the dns information? also can I install "network" for ubuntu?

View 1 Replies View Related

Ubuntu :: How To Confirm 10.10 32 Or 64 Bit Version

May 16, 2011

I'm running 10.10 on a Pentium laptop that also has Win7 64bit installed. I did some googling on this and then ran uname -a in a terminal.
advait@advait-laptop:~$ uname -a
Linux advait-laptop 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 19:00:26 UTC 2011 i686 GNU/Linux
Based on what I saw in my google search, it means I'm using Ubuntu 32 bit. I want to make sure I download the correct version of Google Earth.

View 7 Replies View Related

OpenSUSE :: Can't Type In Run Command Dialog

May 13, 2010

I recently installed OpenSUSE 11.2 on computer.This is a clean installation with no customization or manual config,also I didn't install compiz. When I press ALT+F2 run dialog appears,but I can't type into it.how I can fix this problem??

View 2 Replies View Related

General :: Mistake During Type Mv Command?

Dec 21, 2010

I accidentally type mv command wrong.actually it supposed to be mv SNAP-20101215* dec10/week3_dec10/but i type the below insteadmv SNAP-20101215* dec10/week3_dec2010/Note: there is a folder name "dec10/week3_dec10/"but there is no folder name "dec10/week3_dec2010/"as a result of it, instead of having those files under dec10/week3_dec10 but it merge those files into one file name "week3_dec2010" , is there any way to change it back to orginal files?

View 6 Replies View Related

Ubuntu :: USB Needing Root Privileges?

Apr 4, 2010

We formatted a USB stick to EXT3 for use on a linux formatted device.Now, when we try and transfer files from this ubuntu laptop onto the USB stick, it says permission denied.

View 4 Replies View Related

Ubuntu :: 10.04 Sudo Not Needing Password

May 4, 2010

I installed Ubuntu 10.04 as a vm in VMPlayer 3.0. My correct user password is required to log in. When I use the sudo command or enter an area that requires my password, the password box pops up as it should.

The problem is:
If I enter my actual password, it is not accepted.
But if I enter nothing, as in just hit enter, it works. It shouldn't.

That seems just a little backwards and I don't get it. I've re-installed the vm and still have the same problem.

View 3 Replies View Related

Ubuntu Installation :: Can't Boot 9.10 - Whole Screen Is Blinking And Can't Type Any Command

Feb 25, 2010

I can't boot Ubuntu 9.10 on this computer (on my other computer it works fine). When I try to run it from the CD or USB I see a screen full of colored lines, and when I try to use safe graphics I get to the shell but the whole screen is blinking and I can't type any command. Anyone knows how to solve it? My graphics card is GeForce 7300 LE and on my other computer (the one that can run Ubuntu find) has an on-board graphics card.

View 2 Replies View Related

Ubuntu :: Confirm That Trim Is Working In MM?

Oct 13, 2010

For anyone who is not familiar with it, I am talking about the trim functionality in the 2.6.33 kernel for solid state drives.

View 6 Replies View Related

General :: Copy Db And Type Some Mysqldump Command?

Jul 20, 2010

i use linux ubuntu..i try to copy db and type some mysqldump command..but at terminal show: The program 'mysqldump' can be found in the following packages:

* mysql-client-5.0
* mysql-client-5.1

Try: sudo apt-get install <selected package> bash: mysqldump: command not found

how to get mysqldump for my pc? i've tried to follow the instruction,but show like below:

Err http://ubuntu-ashisuto.ubuntulinux.jp jaunty/main libnet-daemon-perl 0.43-1 Could not connect to ubuntu-ashisuto.ubuntulinux.jp:80 (122.216.218.146), connection timed out

View 3 Replies View Related

Ubuntu Networking :: Ssh Setup Without Needing Input?

Jan 7, 2010

I am writing an installation script that sets up ssh keys and then sets up ssh tunnels. I want the ssh connections to be setup by the install script so that the first time you make the connections you don't need to type in yes when it asks if you confirm the brand new host. How can I get around that?

View 3 Replies View Related

Ubuntu :: Using CUPS With A Printer Needing A Login?

Aug 2, 2011

My work has switched to Fuji Xerox printers, which up to today I've been able to print to simply by sending a PostScript file to their IP addresses. But as of today printing requires a login. Here are the (Windows) instructions:

"Start>Settings>Printers and Faxes>R-Click on the printer>Properties>Configuration>Accounting>Change the dropdown box �Use Login Name� to �Enter owner name�>Type in your staff ID number in the User ID box e.g. �e*******�>OK>Apply"

how do I apply this to CUPS? Where can I find an owner name in CUPS?

View 1 Replies View Related

Ubuntu :: 8.04 - Deletion Of Files Needing Recovery

Jul 25, 2010

I use Ubuntu 8.04 and I deleted a few JPGs from the recycle bin. I googled looking for some methods of recovery, and discovered that the only ways to do so is through using the command line. I am a complete computer novice, and I know nothing about the command line, or how to use it. I was able to install Foremost. However, with this done, I couldn't manage to use it to recover anything from that point, partially because I only have 1 GB left on my computer space, and I can't delete anything or else it could overwrite the photos I want to recover.

This all boils down to two questions:
What needs to be done to complete and utilize foremost?
And lastly, and the more preferable option, can this be accomplished without the command line?

View 7 Replies View Related

Ubuntu Installation :: Get An Error Message That Tells To Type A Command Into The Terminal?

Jun 8, 2011

I was running an update on my computer (running Ubuntu 10.04 Lucid) and something must have been transferred incorrectly as every time I open synaptic, I get an error message that tells me to type a command into the terminal:

Code:
sudo dpkg --configure -a
After doing that, it displays this:

[code]....

View 7 Replies View Related

Ubuntu Security :: SSL Without Users Having To Confirm Certification?

Jun 11, 2011

I am looking for the best method to implement SSL for my sites but without users having to accept the CERT and I'm small so I'd want to use the cheapest method like signing my own certs. Is there an automatic way of doing it or best practice?

View 8 Replies View Related

General :: Type Anything In The Command Prompt Of VxWorks Console

Jun 4, 2011

This is a problem regarding VxWorks. Sometimes i am not able to type anything in the command prompt of vxWorks console.

-> if i type anything here, it takes it as an enter key>
-> Why is this behavior? It doesn happen always. Any bug in vxWorks?

View 3 Replies View Related

General :: Extracting Absolute Directory From Type Command?

Sep 26, 2010

I need to extract the absolute directory from the type command when I pass it a program name. E.g.

Code:

>type cat
cat is hashed (/bin/cat)

There is one other case (I believe):

Code:

>type lpr
lpr is /usr/bin/lpr

I thought of using regex, but it returns the whole line, not just the match. In addition, there is no option cited in the man page for type that returns just the command directory.

Note: this is part of my solution to a programming assignment in bash shell scripting.

View 1 Replies View Related

Security :: Make The Command Line You Type Invisible

Jul 2, 2010

To hide the user input to be displayed on screen, use the terminal line setting command stty -echo, whatever the user enters after this command will not be displayed in the screen. to make the input characters get displayed on the screen use stty echo.

View 1 Replies View Related

Ubuntu :: How To Prevent Screen From Sleeping Needing Relogin

Jul 2, 2010

I put power settings to never, but the screen still goes to sleep and moving the mouse you have to login.What I really want is no login screen, and I suppose if you were watching a vid it would go dark?

View 2 Replies View Related

Ubuntu :: View The CPU Temperature Without Needing Additional Hardware?

Apr 24, 2011

I have an HP laptop with Ubuntu 10.10. Is there a way to view the CPU temperature without needing additional hardware?

View 9 Replies View Related

OpenSUSE Install :: Confirm 32 Vs 64 Bit CD / DVD?

Mar 27, 2010

1. I ordered an Opensuse 11.2 Live CD-Gnome 32-bit and an Install DVD 64-bit from a [URL].

2. My plan is to install Opensuse 11.2 from the Live CD on an old 32-bit Dell Inspiron 7500 laptop (512 mb Ram) and dual boot it w/ Windows XP.

3. And then to install the 64-bit Opensuse 11.2 on a newer 64-bit Acer Ax1200 desktop (4 gig ram).

4. Is there a way to confirm that I have the correct 32-bit Live CD and a 64-bit Install DVD?

5. I tried looking at the "properties" of the Opensuse Install DVD while in XP, w/out seeing any obvious signal identifying 32 vs 64 bit.

6. I have a hunch that if I accidentally try to install the 64-bit version on my old 32-bit laptop, it would be a disaster.

View 1 Replies View Related

Server :: Backup Confirm Via Tar Possible?

Dec 22, 2010

Ran into an issue where there was a corrupt tar and nothing to do except revert to an even older one. Naturally I am then asked, can you confirm via crc or something that a tar was successful?I wish to tar / gzip some files and folders, will do them seperate, some are small, others can reach 5-7GB, but is there any way to rify aside from listing the contents that upon a tar completion that everything was fine?

View 2 Replies View Related

Installation :: Ubuntu Boots To Terminal Type Prompt / Command To Start Gnome From That?

May 26, 2010

Since upgrading ubuntu boots to a prompt rather than logging into gnome. has anyone run into this? what can I do to fix this?
I recently upgraded from Ubuntu 9.10 to Ubuntu 10.4.
does anyone know the command to start gnome from the prompt?

View 4 Replies View Related

General :: When Type - Sudo Grub - It Says - Command Not Found" In Ubuntu 9.10 Live CD

Jan 30, 2010

I am going to reinstall my GRUB bootloader and some one said do the followings:

But when I type "sudo grub" in terminal it gives this error: "sudo: grub: command not found"

View 7 Replies View Related

Debian :: Determine File Type On Bash - Command Not Found

May 10, 2015

I cannot find a bash command: "file" !

It say "-bash: file: command not found"

"file" is used to determine file type on a bash right ? is there a package i have to install ? deprecated ?

I use debian wheezy distro

View 2 Replies View Related







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