03-28-2012
Hi Corona,
i understood. I want to register my system with RHN. Such that I can use YUM to download softwares.
But I am not successful, Since because of proxy. When i do rhn_register. It is not able to connect.
Please help. Else suggest me if I can manually add some other good repo to YUM.
Regards
Guru
10 More Discussions You Might Find Interesting
1. Linux
hi, im very new to linux. my linux box in the office has an a proxy server to access the internet. i can set this on my browsers. id like to know how i give my shell (bash) the proxy server settings so i can wget, install perl modules, etc. on my shell terminal without problems. (1 Reply)
Discussion started by: marcpascual
1 Replies
2. Shell Programming and Scripting
hi ..
I have automate some process on unix through sehll script .
but i don't know there is some problem in scripts, some time shell script works and some time it fails. so my query is that "Why shell script fails some times?"
thanks (4 Replies)
Discussion started by: tahir23
4 Replies
3. Shell Programming and Scripting
hi ,
i m trying to run a shell script automatically , some time it works fine but some time it fails , what could be the problem .
If anybody have an idea about this problem then reply .
Thanks in advacne (4 Replies)
Discussion started by: tahir23
4 Replies
4. Shell Programming and Scripting
hi , i have problem with writing script shell to create proxy grid like this:
grid-proxy-init -cert cert.pem -key key.pem
the server will prompt me to enter passphrase(similar to password) in return. the problem is that i don't know how to respond to that request, i try writing script like... (1 Reply)
Discussion started by: vitid
1 Replies
5. IP Networking
Hi,
I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies
6. Shell Programming and Scripting
I want to config Transparent Proxy using Shell Script.
I have more questions<exercise of me :D>:
+ Check that the squid is installed or not install and version is installed
+Allows users to choose to run a transparent proxy or not
+Perform configuration and turn on service in accordance... (0 Replies)
Discussion started by: kaka287
0 Replies
7. Shell Programming and Scripting
#!/usr/bin/ksh
/bin/clear
LIST_USERS="user1|user2|user"
echo "Please enter the PASSWORD:"
stty -echo
read PASSWORD
stty echo
if ; then
echo "You have access!"
else
echo "ACCESS DENIED!"
exit
fi
This above script is not working when I auth more then one user w/in... (22 Replies)
Discussion started by: shiv2001in
22 Replies
8. Shell Programming and Scripting
HI
cd ${back_home}
if above back_home does not exist, then script shoul exit. Please let us know how to do that (7 Replies)
Discussion started by: buzzme
7 Replies
9. Shell Programming and Scripting
i need squid proxy log file daily auto generate by shell script (1 Reply)
Discussion started by: sanjeetkumar086
1 Replies
10. IP Networking
I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
LEARN ABOUT DEBIAN
rhnreg_ks
RHNREG_KS(8) Red Hat, Inc. RHNREG_KS(8)
NAME
rhnreg_ks - A program for non interactively registering systems to RHN Satellite or Red Hat Network Classic.
SYNOPSIS
rhnreg_ks [options]
DESCRIPTION
rhnreg_ks is a utility for registering a system with the RHN Satellite or Red Hat Network Classic. It is designed to be used in a non-
interactive environment (a kickstart style install, for example). All the information can be specified on the command line or stdin.
OPTIONS
--profilename
Specify the profile name that should be used as an identifier for the system in RHN Satellite, Red Hat Network Classic
--username
The username to register the system with under RHN Satellite or Red Hat Network Classic. This can be an existing RHN Satellite or
Red Hat Network Classic username, or a new username.
--password
The password associated with the username specified with the --username option. This is an unencrypted password.
--activationkey
Specify/use a serial number to associate with the system. This is optional, but activation keys can really simplify the registration
process. Learn more about activation keys in the online RHN documentation.
--contactinfo
This option has been deprecated. Please login to the server web user interface and update your contactinfo.
--nohardware
Do not probe or upload any hardware information.
--nopackages
Do not profile or upload any package information.
--novirtinfo
Do not profile or upload any virtualization information.
--norhnsd
Do not start rhnsd after completion.
--force
Register the system even if it has already been registered.
--version
Show the version of rhnreg_ks.
--proxy
Specify a HTTP proxy to use.
--proxyUser
Specify a username to use with an authenticated HTTP proxy.
--proxyPassword
Specify a password to use with an authenticated HTTP proxy.
--sslCACert
Specify a path to a SSL CA certificate to use.
--serverUrl
Specify a URL to as the server.
-h, --help
Show a help message and exit.
FILES
/etc/sysconfig/rhn/systemid
The digital server ID for this machine if the system has been registered onto RHN Satellite or Red Hat Network Classic. This file
does not exist otherwise.
/etc/sysconfig/rhn/up2date
The common configuration file used by RHN client programs.
EXAMPLES
Register a new system to Red Hat Network Classic:
rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar"
Register a new system to Red Hat Network Classic with contact info:
rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar" --contactinfo < contactinfo
where the file "contactinfo" contains data in the format:
first_name: Billy
last_name: Bob
company: SomeCompanyName
city: Springfield
fax: 555-5555
phone: 555-5555
SEE ALSO
rhn_check(8), rhn_register(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5).
AUTHORS
See the AUTHORS file included with this software.
This manual page was written by Adrian Likins <alikins@redhat.com> and James Bowes <jbowes@redhat.com>
BUGS
Report bugs to <http://bugzilla.redhat.com>.
COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
Linux 2011 February 4 RHNREG_KS(8)