07-25-2013
Certainly it's connecting to the server, if it's asking you for a password. It wouldn't bother if it didn't connect.
If I had to make a wild guess, I would say it's copying the files. If it had any sort of error it would tell you...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
Discussion started by: Deanne
6 Replies
2. UNIX for Dummies Questions & Answers
Does anyone know if this is possible?
I want to give some users access to root's crontab but only with a read privilege.
Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
Discussion started by: LordJezoX
4 Replies
3. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
4. UNIX for Dummies Questions & Answers
HI All,
I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows
adam ALL=(ALL) NOPASSWORD: ALL
...........
when i create user by logging as sudo user .
$ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan
sudo: not found
... (6 Replies)
Discussion started by: kalyankalyan
6 Replies
5. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
6. UNIX for Dummies Questions & Answers
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Discussion started by: Sree10
4 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
9. Shell Programming and Scripting
I've found this script part on the stackoverflow:
if ; then
sudo bash "$0" "$@";
exit "$?";
fi
I realized that sudo bash "$0" "$@"; is the only needed for me.
But the strange thing happens when I move this line outside the IF statement:
sudo bash "$0" "$@"; stops the... (9 Replies)
Discussion started by: boqsc
9 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT REDHAT
sserver
SSERVER(8) System Manager's Manual SSERVER(8)
NAME
sserver - sample Kerberos version 5 server
SYNOPSIS
sserver [ -p port ] [ -S keytab ] [ server_port ]
DESCRIPTION
sserver and sclient are a simple demonstration client/server application. When sclient connects to sserver, it performs a Kerberos authen-
tication, and then sserver returns to sclient the Kerberos principal which was used for the Kerberos authentication. It makes a good test
that Kerberos has been successfully installed on a machine.
The service name used by sserver and sclient is sample. Hence, sserver will require that there be a keytab entry for the service "sam-
ple/hostname.domain.name@REALM.NAME". This keytab is generated using the kadmin(8) program. The keytab file is usually installed as
"/etc/krb5.keytab".
The -S option allows for a different keytab than the default.
sserver is normally invoked out of inetd(8), using a line in /etc/inetd.conf that looks like this:
sample stream tcp nowait root /usr/kerberos/sbin/sserver sserver
Since sample is normally not a port defined in /etc/services, you will usually have to add a line to /etc/services which looks like this:
sample 13135/tcp
When using sclient, you will first have to have an entry in the Kerberos database, by using kadmin(8), and then you have to get Kerberos
tickets, by using kinit(8). Also, if you are running the sclient program on a different host than the sserver it will be connecting to, be
sure that both hosts have an entry in /etc/services for the sample tcp port, and that the same port number is in both files.
When you run sclient you should see something like this:
sendauth succeeded, reply is:
reply len 32, contents:
You are nlgilman@JIMI.MIT.EDU
COMMON ERROR MESSAGES
1) kinit returns the error:
kinit: Client not found in Kerberos database while getting initial credentials
This means that you didn't create an entry for your username in the Kerberos database.
2) sclient returns the error:
unknown service sample/tcp; check /etc/services
This means that you don't have an entry in /etc/services for the sample tcp port.
3) sclient returns the error:
connect: Connection refused
This probably means you didn't edit /etc/inetd.conf correctly, or you didn't restart inetd after editing inetd.conf.
4) sclient returns the error:
sclient: Server not found in Kerberos database while using sendauth
This means that the "sample/hostname@LOCAL.REALM" service was not defined in the Kerberos database; it should be created using kadmin, and
a keytab file needs to be generated to make the key for that service principal available for ssclient.
5) sclient returns the error:
sendauth rejected, error reply is:
" No such file or directory"
This probably means sserver couldn't find the keytab file. It was probably not installed in the proper directory.
SEE ALSO
sclient(1), services(5), inetd(8)
SSERVER(8)