10-06-2010
So, there are no available daemons for direct listening to spawn rsh, rlogin and rcp (rsync, remsh, rexec, . . . ?)? Still, just removing/commenting inetd and maybe services lines seems fragile.
All the system distributions should deliver these commands as an optional package that you do not install, unless you accept the vulnerabilities and have some need to support them, way yesterday dude!
These vulnerabilities should be down to near the same level as ftp and telnet if properly configured: plain text data on the network, but with the added concern of passwordless login between hosts. If there are not configurable controls to block * user or host, then as root, you can scan for dumb .rhosts files on every host. They are not so bad on well firewalled subnets of an intranet.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i am on aix. i used smitty to remove a user..
but then found that its directory still exists....
so i have to remove the directory manually...
am i doing it the right way? (2 Replies)
Discussion started by: yls177
2 Replies
2. UNIX for Advanced & Expert Users
Hi..
When I execute a command, say for ex.. cp ../../* to ..../.../*
and then when I use escape K, enter... it shows the commands recently executed.
How can we remove that commands from buffer?
This is a sun-solaris 8 environment..
Thanks, ST2000 (3 Replies)
Discussion started by: ST2000
3 Replies
3. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
4. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies
5. Shell Programming and Scripting
Hi,
I have a log file having size of 48mb.
For such a large log file. I want to get the message in a particular format which includes only unique error and exception messages.
The following things to be done :
1) To remove all the date and time from the log file
2) To remove all the... (1 Reply)
Discussion started by: Pank10
1 Replies
6. Shell Programming and Scripting
Hi Experts,
I actually need to remove multiple commas within the column not the entire row. Its comma delimited file
Actually the value seems to look like 1,006,000, when we open this in notepad or word pad the value look s like “1,006,000”
Actually our Sed command removes single comma and... (7 Replies)
Discussion started by: bshivali
7 Replies
7. AIX
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies
8. Shell Programming and Scripting
Hi all,
I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated
ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192)
CHST3 (PA26503) docetaxel... (2 Replies)
Discussion started by: manigrover
2 Replies
9. Post Here to Contact Site Administrators and Moderators
In this thread: /shell-programming-and-scripting/255687-organizing-text-file-capital-names-capital-word-capital-word.html (sorry i cant use links)
that is not an example, those are real students names with real student login id's for the college i am attending and i am on that list. Please... (3 Replies)
Discussion started by: throwawayacc
3 Replies
10. UNIX for Beginners Questions & Answers
The bash below executes and does find all the .bam files in each R_2019 folder. However set -x shows that the .bam extension only gets removed from one .bam file in each folder (appears to be the last in each). Why is it not removing the extension from each (this is $SAMPLE)? Thank you :).
set... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT REDHAT
kerberos
KERBEROS(1) General Commands Manual KERBEROS(1)
NAME
kerberos - introduction to the Kerberos system
DESCRIPTION
The Kerberos system authenticates individual users in a network environment. After authenticating yourself to Kerberos, you can use net-
work utilities such as rlogin, rcp, and rsh without having to present passwords to remote hosts and without having to bother with .rhosts
files. Note that these utilities will work without passwords only if the remote machines you deal with support the Kerberos system.
If you enter your username and kinit responds with this message:
Principal unknown (kerberos)
you haven't been registered as a Kerberos user. See your system administrator.
A Kerberos name usually contains three parts. The first is the primary, which is usually a user's or service's name. The second is the
instance, which in the case of a user is usually null. Some users may have privileged instances, however, such as ``root'' or ``admin''.
In the case of a service, the instance is the fully qualified name of the machine on which it runs; i.e. there can be an rlogin service
running on the machine ABC, which is different from the rlogin service running on the machine XYZ. The third part of a Kerberos name is
the realm. The realm corresponds to the Kerberos service providing authentication for the principal.
When writing a Kerberos name, the principal name is separated from the instance (if not null) by a slash, and the realm (if not the local
realm) follows, preceded by an ``@'' sign. The following are examples of valid Kerberos names:
david
jennifer/admin
joeuser@BLEEP.COM
cbrown/root@FUBAR.ORG
When you authenticate yourself with Kerberos you get an initial Kerberos ticket. (A Kerberos ticket is an encrypted protocol message that
provides authentication.) Kerberos uses this ticket for network utilities such as rlogin and rcp. The ticket transactions are done trans-
parently, so you don't have to worry about their management.
Note, however, that tickets expire. Privileged tickets, such as those with the instance ``root'', expire in a few minutes, while tickets
that carry more ordinary privileges may be good for several hours or a day, depending on the installation's policy. If your login session
extends beyond the time limit, you will have to re-authenticate yourself to Kerberos to get new tickets. Use the kinit command to re-
authenticate yourself.
If you use the kinit command to get your tickets, make sure you use the kdestroy command to destroy your tickets before you end your login
session. You should put the kdestroy command in your .logout file so that your tickets will be destroyed automatically when you logout.
For more information about the kinit and kdestroy commands, see the kinit(1) and kdestroy(1) manual pages.
Kerberos tickets can be forwarded. In order to forward tickets, you must request forwardable tickets when you kinit. Once you have for-
wardable tickets, most Kerberos programs have a command line option to forward them to the remote host.
Currently, Kerberos support is available for the following network services: rlogin, rsh, rcp, telnet, ftp, krdist (a Kerberized version of
rdist), ksu (a Kerberized version of su), login, and Xdm.
SEE ALSO
kdestroy(1), kinit(1), klist(1), kpasswd(1), rsh(1), rcp(1), rlogin(1), telnet(1), ftp(1), krdist(1), ksu(1), sclient(1), xdm(1),
des_crypt(3), hash(3), krb5strings(3), krb5.conf(5), kdc.conf(5), kadmin(8), kadmind(8), kdb5_util(8), telnetd(8), ftpd(8), rdistd(8),
sserver(8), klogind(8c), kshd(8c), login(8c)
BUGS
AUTHORS
Steve Miller, MIT Project Athena/Digital Equipment Corporation
Clifford Neuman, MIT Project Athena
HISTORY
Kerberos was developed at MIT. OpenVision rewrote and donated the administration server, which is used in the current version of Kerberos
5.
RESTRICTIONS
Copyright 1985,1986,1989-1996 Massachusetts Institute of Technology
KERBEROS(1)