"Sorry, user is not allowed to execute '/bin/su ΓΗτ devuser' as root on
servername."
The above is the error that I get.
Basically my user does not have access to execute the script on the folder that I mentioned.
Does it mean that the sudo didnt implement at all?
---------- Post updated at 01:19 PM ---------- Previous update was at 12:55 PM ----------
The below is the piece of code I had in command.txt
I am new to UNIX , Can any one let me know how to execute shell script (i.e which command I have to use for the same).
Any help would be appreciated.
Thanks
siva
mymvs999@yahoo.com (3 Replies)
Hi all,
I am begginer of UNIX . I dont know if i have a script written in korn shell with .ksh extention . If i want to execute that how can i do that? Can anybody suggest the best book to learn korn shell scripting.
Thanks
sam71 (1 Reply)
This is my shell script... test.sh
DIRECTORY=/XYZ/PQR
if ; then
echo "In test.."
else
echo "lno.."
fi
when i run this script through a putty its output is:
./test.sh: line 2: [: too many arguments
lno..
But when i run the same script using plink its running fine and its... (5 Replies)
Hi all,
I am beginner in UNIX...I want to use unix shell script to create text.file...I know how to use using by command...can anybody tell me for the script?
Thanks
i changed the threads title from "tex file" to "text file", because "tex" would probably be misunderstood as reference to... (4 Replies)
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Hi all,
As i want to know how the shell command "nohup" worked.I logged in as the user named vincent through Gnome.Then i press ctrl+atl+F1 changed into a console and logged in as another user named kinsley.The user "kinsley" is added by me with "useradd",and now there's no HOME directory for... (6 Replies)
Can anyone help me with a dos batch script to execute a shell script residing in an unix server. I am not able to use ssh.
Thanks in advance (2 Replies)
Hi Experts,
I want to execute shell script(on HP-UX) wihout specifying interpreter.
For e.g generally we use following command to execute shell
sh test.sh
but I want to execute it as
test.sh
currently if I execute directly it as test.sh it is giving error Commnd Not... (7 Replies)
Hi team,
My requirement is to transfer pdf files from windows machine to unix server and then from that unix server we should sftp to another server.
I have completed the first part i.e From windows to using to unix server with the help of psftp.exe
code:
psftp user@host -pw password <... (1 Reply)
Discussion started by: bhupeshchavan
1 Replies
LEARN ABOUT DEBIAN
kinosearch1::analysis::tokenbatch
KinoSearch1::Analysis::TokenBatch(3pm) User Contributed Perl Documentation KinoSearch1::Analysis::TokenBatch(3pm)Add many tokens to the batch, by supplying the string to be tokenized, and arrays of token starts and token ends (specified in bytes).NAME
KinoSearch1::Analysis::TokenBatch - a collection of tokens
SYNOPSIS
while ( $batch->next ) {
$batch->set_text( lc( $batch->get_text ) );
}
EXPERIMENTAL API
TokenBatch's API should be considered experimental and is likely to change.
DESCRIPTION
A TokenBatch is a collection of Tokens which you can add to, then iterate over.
METHODS
new
my $batch = KinoSearch1::Analysis::TokenBatch->new;
Constructor.
append
$batch->append( $text, $start_offset, $end_offset, $pos_inc );
Add a Token to the end of the batch. Accepts either three or four arguments: text, start_offset, end_offset, and an optional position
increment which defaults to 1 if not supplied. For a description of what these arguments mean, see the docs for Token.
next
while ( $batch->next ) {
# ...
}
Proceed to the next token in the TokenBatch. Returns true if the TokenBatch ends up located at valid token.
ACCESSOR METHODS
All of TokenBatch's accessor methods affect the current Token. Calling any of these methods when the TokenBatch is not located at a valid
Token will trigger an exception.
set_text get_text
Set/get the text of the current Token.
set_start_offset get_start_offset
Set/get the start_offset of the current Token.
set_end_offset get_end_offset
Set/get the end_offset of the current Token.
set_pos_inc get_pos_inc
Set/get the position increment of the current Token.
COPYRIGHT
Copyright 2005-2010 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch1 version 1.00.
perl v5.14.2 2011-11-15 KinoSearch1::Analysis::TokenBatch(3pm)