08-17-2019
Brother,
How you you ask such a question without specifying the exact version of Red Hat you are running??
Details matter.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies
2. Solaris
Hello All,
I need your help to know how i can give regular user ALL root privileges.
If there is any way pleas help me :)
Regards,
Ahmad (7 Replies)
Discussion started by: ahmad_one
7 Replies
3. Solaris
Hi Friends,
I would like to block the root user for doing ftp. As I am aware that I need to put the entry for root in /etc/ftpusers.....am I right...??? But I am not able to edit the file & even more command is not working.
#ls -l ftp*
total 14
-rw-r--r-- 1 root sys 1249 Jun... (3 Replies)
Discussion started by: jumadhiya
3 Replies
4. Linux
We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies
5. Solaris
Can anyone please tell how to give root privilege to a normal user in solaris 10? (5 Replies)
Discussion started by: nicktrix
5 Replies
6. Red Hat
Friends ,
i want to run my smtp service as a root .
let me know what r the changes i have to made to my machine .
AVklinux (1 Reply)
Discussion started by: avklinux
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I use a nomachine terminal to access KDE desktop(redhat linux enterprise) on a server. Is there any way to get the mouse wheel to work without root privilege ?
I have a usb mouse connected to a nomachine terminal,most likely the mouse wheel problem is not the problem of nomachine, but... (1 Reply)
Discussion started by: grossgermany
1 Replies
8. AIX
How to block the root user login in system direct console. Users should login with non-root ids themselves and then use the su command to become root. Which configuration file i need to check and disable it. (5 Replies)
Discussion started by: kmvinay
5 Replies
9. UNIX for Advanced & Expert Users
Hi all,
actually my scenario is we are running a webserver using apache-tomcat in that our client uploading resumes, so that particular space we are allowed to upload
for that we are running java in root permission, so even we changed the particular folder permission also inside the Webapps but... (1 Reply)
Discussion started by: anishkumarv
1 Replies
10. Solaris
Hi All
After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies
LEARN ABOUT CENTOS
rhnreg_ks
RHNREG_KS(8) Red Hat, Inc. RHNREG_KS(8)
NAME
rhnreg_ks - A program for non interactively registering systems to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic.
SYNOPSIS
rhnreg_ks [options]
DESCRIPTION
rhnreg_ks is a utility for registering a system with the "Spacewalk Server", "Red Hat 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 Spacewalk Server, Red Hat Satellite or Red Hat Net-
work Classic
--username
The username to register the system with under Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. This can be an exist-
ing Spacewalk, Red Hat 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 "Spacewalk Server", "Red Hat 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 Spacewalk / Red Hat Satellite / Red Hat Network Classic:
rhnreg_ks --profilename "example_profile_name" --username "someexampleuser" --password "foobar"
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)