Please forgive if Im totally wrong, a bit shaken after having an accident with my motorbike... but we were many bikes to fall as a lorry spilled fuel and the road...
Code:
ssh -i $key $os_user@$ip
sudo -u $ou_user -p $ou_pass -- i am getting error here...its not taking sudo password
. PRD
"sqlplus / as sysdba<<EOF
ALTER USER $unlock_user ACCOUNT UNLOCK;
EOF
"
I am not sure what is going on here, it seemed to me that after ssh, you are on a another connection with a new shell, no?
So su or sudo wont work as such IMHO
Sorry bad headhache, leaving...
Hi,
Hope you are ok ?
Yes , after ssh i will be on another remote box, where i need to switch to oracle user by using su ...
How ever i got some google information and previous reply from robin sudo su wont ask for password where just su shall ask ( I need to to give a try this a work around)
I've written a shell script to alter a particular preference file on OS X (10.3.9), which works fine (tested by running the script from the terminal sat in front of the box).
Problem is, I now have to run this script remotely across a number of machines via remote desktop, so where I've used the... (1 Reply)
Hi all..
I'm secering a RH 2.1 server, with gnome (not my choice...), as X manager.
Is ther anyway to get sudo ask for root password other then the actual user's password? Like when you launch the graphical IHM to create a new user, it asks for root's password? Is there a way to do the same... (5 Replies)
Hello everybody,
Say I forgot my root password (shit happens, no?) and I'd like to brutally try 100 possibilities to delete a file using sudo. How can I make a script that tries all the passwords?
The following doesn't work. Do you have a clue?
foo:~$ cat test
sudo rm dummy <<< 'password'
echo... (1 Reply)
Hello
I have a partition with Aix 5.3 and I install sudo
I put the commands that I want to use x user and I put the option that donkask for password.
But when I run with this user and I try to run that commands. ask me for a password.
I put this line for no ask for password with that... (2 Replies)
salmo allikm warhmat allah wabrakato
i want to do script with sudo like
sudo su and want to put password in the script not get from user because i to made it startup when booting and i don't know how put in script for sudo
thanks (5 Replies)
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Little confused here
When i go to run sudo nohup ./script.ksh &
I dont get asked for a password.
It starts a process ID, I can see it when i do a ps -ef | grep script.
But I dont get an output file from my script, so its not doing anything.
What gives?
does it have to do the "&" ?
... (4 Replies)
hi,
i have a requirement where i need to sudo to another user in the shell script.suppose consider user A and B, first user A calls a shell script and then i need to sudo to user B which executes another shell script inside the earlier one.
also this needs to be automated like while sudo'ing to... (3 Replies)
cleanwork /saswork removes sas orphanded processes in the saswork directory. Subdirectories under sasem are sas94, sas92 and sasworks .
I am getting the following error messages:
1.
'/usr/bin/sudo -S apt-get update <~/opt/SiM/pos/ps/db_auth.cfg... (4 Replies)
Discussion started by: dellanicholson
4 Replies
LEARN ABOUT DEBIAN
xcfa
xcfa(1) Manual: Xcfa xcfa(1)NAME
xcfa - GTK+ Implementation of the GNU shell command.
SYNOPSIS
xcfa [OPTION]... [FILE]...
-h, -help
Displays this help section and exits.
-version
Displays the version of the program and exits.
-verbose
Activate verbose mode
-systray
Activate systray mode
DESCRIPTION
Interface contains console tools (cdparanoia, lame, oggenc, ...).
Allows extraction of audio from DVD to .wav format.
Allows extracting audio from CD to formats such as: wav, mp3, flac, ogg, m4a, mpc, ape.
Allows encoding audio to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows encoding the .wma format to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows cutting of files.
Allows management of common file-types before converting.
Allows management of bitrates, frequencies, and channels.
Allows creation of CD covers.
Developed with Gtk2 and Glade and runs under the X window system on the GNU platform.
USAGE
After the first launch, go to the Options tab and modify the settings to your liking.
ADDING THE GPG KEY
With sudo:
$ wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | sudo apt-key add -
Without sudo:
$ su root
[Enter the password for root.]
# wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | apt-key add -
Another solution with root:
# gpg --keyserver subkeys.pgp.net --recv 00B21603DD5C7A79
# gpg --export --armor 00B21603DD5C7A79 | sudo apt-key add -
SOURCES.LIST
Add the following lines to your [ /etc/apt/sources.list ] file for automatic updates:
## Xcfa for i386 and amd64
deb http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
deb-src http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
COMPLEMENTARY PACKAGE INSTALLATION :
See the Recovery and Complementary package installation guide:
http://www.xcfa.tuxfamily.org/index.php?static2/xcfa
CHANGELOG
Read the ChangeLog file and view the source code.
AUTHOR
XCFA is developed by Claude Bulin (xcfa@tuxfamily.org)
4.3.1 Wed, 23 May 2012 xcfa(1)