General :: Create Shell Script For Ssh / Where Don't Have To Type Password Manually
Feb 19, 2011
how can I create a shell script for ssh where I don't have to type the password manually?I have learned expect command and I have tried multiple examples, but it didn't work.
View 7 Replies
ADVERTISEMENT
Feb 18, 2010
is it possible to create a shell script that adds user and password in the passwd and smbpasswd?
View 3 Replies
View Related
Jan 8, 2010
hello i am trying to change my password, but when i type in the new password i get this:"The password is longer than 8 characters. On some systems, this can cause problems. You can truncate the password to 8 characters, or leave it as it is."my question is what kind of problem could i get and how can i change so i have to log in every time i start the computer?
View 9 Replies
View Related
Aug 11, 2010
how to reset my password manually?
View 3 Replies
View Related
Jun 22, 2010
I have a server hacked when i try to log in i type root but won't let me type a passwdthere are no services up, can't see page mail nothing
View 11 Replies
View Related
Apr 15, 2010
We have about 15 printer installed on Windows and shared in Linux RedHat 3.0 the username that we are using for the share its password has to be changed, is their a way to do it on one location or do i have to individually change password on all the printers Manually?
View 1 Replies
View Related
Oct 14, 2010
How to create the password hash exactly the same as in shadow file (from the command line)?
The command
openssl passwd -crypt
returns something different.
View 6 Replies
View Related
Oct 20, 2009
I newly installed Ububtu 8,04.3. I formatted my hard drive and erased Windows XP and tried to do the manual partitioning but don't have enough knowledge so picked the guided tour. Everything seemed to install but when I restarted it comes to "computer log-in" and wants a user name and password. I put in the user name I chose during installation and tried to put in the password but it wouldn'd type in - it also seemed to want a name for "computer." Does anyone know where I went wrong? I've been struggling to learn computer stuff on my own.
View 14 Replies
View Related
Nov 18, 2010
after i made the change to my shell type, that from SH to TCH, and back again, i lost my coloring for my file system, if you know what i mean, folders always come in blue, and devices in yellow hope you understand? now everything i do can't seem to differentiated between files colors anymore.
View 7 Replies
View Related
Mar 23, 2011
I need to make a shell script to make a ftp connection. But it will be used in cron.
How can I set a static username and password on the script??
I've tryed to find this on Google, but without sucess.
View 4 Replies
View Related
Jun 5, 2011
I am trying to create a shell script similar to ls, but which only lists directories. I have the first half working (no argument version), but trying to make it accept an argument, I am failing. My logic is sound I think, but I'm missing something on the syntax.
Code:
if [ $# -eq 0 ] ; then
d=`pwd`
for i in * ; do
if test -d $d/$i ; then
echo "$i:"
code....
View 10 Replies
View Related
Sep 4, 2010
I would like to create the shell which would support the LS command in C++. And any way to change the command prompt.
View 1 Replies
View Related
Sep 16, 2010
I am a complete newbie to linux. I am currently taking a course at Devry university called netw240. I am in my 2nd week of class and am required to turn in a paper at the end of the coures were I write an automated shell script. I am currently using Fedora 12 on a Vmware player and want to try to write a script that automates the process of Logging user login activity to detect unauthorized remote access attempts.I am looking for pointers on were to start, examples, ect.. anything that can get me started. Also, is this type of script to much for a beginner?
View 11 Replies
View Related
Feb 3, 2010
I am using Linux on my system. I don't have gui for my system, only console is there.
I have some task to create a menu box window using dialog in shell scripting.
I have to take input from user & save it in a file.
But this should like html form as e.g.
Name - .....................
email id - ..................
phone - ......................
location - ...................
Submit Cancel
Such window should be displayed on console using dialog & then user will enter his information there as Name,email id, phone,etc & submit it, then it gets saved to a file. Here submit & cancle are buttons. I have to do it in bash shell scripting. Or give me some examples like the above with shell script code.
View 1 Replies
View Related
Oct 20, 2010
I was trying to create a shell script which will automatically login to the server 192.168.1.7 and checks if a user exists there or not, if it doesn't exist then it should create the user.I have very little idea about shell scriptThis is what I tried:Quote:
#!/bin/bash
pass="sacharje"
ssh 192.168.1.7
Now, how to pass that password automatically to the ssh when it asks for the password? (I can't use public key authentication here)
View 10 Replies
View Related
Feb 7, 2010
i want to create grub 1.5 for ubuntu 10.04 because what ever they got there doesn't work.
View 3 Replies
View Related
Jul 20, 2009
An external service I dont manage pushes mediafiles into a shared directory on my server. I need to move these files into their correct directories automatically. The problem is that if I run my script as a cronjob once every 3 minutes, I notice that the script copies files which are still on their way into my server. So I need to figure out how to have the script check that the files are complete (done downloading) before the script moves the files. This is what I got so far:
Code:
#!/bin/sh
# Script by proximity 280709.
# Locate correct directory
[code]....
View 8 Replies
View Related
Oct 17, 2010
is there a sample xorg.conf for basic setting?
i did
Code:
#X -configure
but then always Fatal error signal 11.
View 6 Replies
View Related
Apr 11, 2011
I'm using Slackware 13.1. There are some software I need that not presented in repos (e.g GIS software and utilities), so I create SlackBuilds and build them manually.
When compiling some libraries I get problems with libdl - the dynamic linker library. As I understand, this library absolutely required by some other libs.
For some odd reason, it seems that this library is automatically supported on other distros (e.g. Debian), but not on Slackware. As result ./configure script can't find necessary libs and fails with messages like
Code:
checking for sqlite3_prepare_v2 in -lsqlite3... no
configure: error: 'libsqlite3' is required but it doesn't seems to be
installed on this system.
[Code]....
View 2 Replies
View Related
Jun 8, 2010
how to create password protected tar file ?
View 3 Replies
View Related
Sep 7, 2010
I tried to add a new launcher to a xfce panel on an Ubuntu 9.04. The problem is that I want to create a launcher for a .txt file - and the launcher does not give me the option of choosing "type". I read the following:
[Code]...
View 8 Replies
View Related
May 16, 2011
I already install mailgraph in ubuntu 10.04. but now I got problem with mailgraph in ubuntu 10.04. No graph appear in the graphic created by mailgraph.I know mailgraph consist of perl and cgi script.If I have postfix log, how to test mailgraph manually to create the graphic using its perl script from existing postfix log. Just to see whether the graph created or not in the graphic
View 1 Replies
View Related
Mar 21, 2010
i was able to input it directly from the script using this code
Code:
#!/usr/bin/expect -f
set USER "bibingeorge"
[code]...
View 5 Replies
View Related
Jul 19, 2011
i need to install the new firefox. I have allready downloaded the tar.bz2 package and extract it in a folder. I go to terminal, type sudo make install and appear [sudo] password for severityconcept: but i can't type any character. How to type my password in terminal when i run that command I mentioned above?
View 9 Replies
View Related
May 24, 2011
I am copying the file form one directory to another directory using shellscript.
Here i want to get the Mimetype/Content-type of the file.
How to i can get the MimeType.
View 9 Replies
View Related
Jan 10, 2010
I am having a dual boot system vista/ubuntu 9.04. Till recently whenever I wanted to access my vista partition I had to type in the administrative password. However, strangely, for last few days whenever I access the vista partition I don't need to type the password. The partition is just mounted and I can access the files. I would like to know the reasons and if possible to get back the previous situation (needing password to access the vista partition).
View 4 Replies
View Related
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
Apr 29, 2010
Fresh install from the new CD (via BitTorrent). Installation seemed to go cleanly, with no errors or warnings, but a long delay while some files were downloading from the overloaded servers. However, after the reboot, the machine was unusable. Can't log in because it won't recognize any characters coming from the keyboard when I try to type my password. Hardware is a Lenovo (IBM) ThinkPad R52 with 1.5 GB RAM. Extremely vanilla machine. Possible wrinkle in that I'm trying another VM this time around, using VMware Player 3.0.1. Right now I'm assuming this installation is dead and non-recoverable.
View 1 Replies
View Related
Nov 19, 2009
When I try and connect to a VNC session from KRDC; and I am prompted for a password, the keyboard just decides to stop working. I can't type anything into the password prompt... Then the keyboard stops working for all other open applications (Firefox etc.). If I close KRDC, it starts working again... Is this a bug? Has anyone else seen this?
View 4 Replies
View Related
Jan 15, 2010
Recently stated using ubuntu, and installed Konsole. when i type try to become the superuser, i cant type my password in, flashes a little though. and when i do type my password in, it says its wrong. tried to look for a solution, but im out of ideas now.
View 9 Replies
View Related