09-05-2012
Quote:
Originally Posted by
jim mcnamara
fpmurphy -
Okay, then how can root run shell without libc? Does RHEL mount /lib somehow without a shell?
I am not a RH admin, but, in light of the following recommendations, I would assume that the usual recovery method would involve alternate boot media.
From
RHEL 6 Developer Guide - Static Linking:
Quote:
Static linking is emphatically discouraged for all Red Hat Enterprise Linux releases. Static linking causes far more problems than it solves, and should be avoided at all costs.
From
RHEL 6 Installation Guide - Recommended Partitioning Scheme:
Quote:
Unless you have a reason for doing otherwise, we recommend that you create the following partitions for x86, AMD64, and Intel 64 systems:
* swap partition
* /boot partition
* / partition
* home partition
... <snip> ...
Do not place /usr on a separate file system
If /usr is on a separate file system from /, the boot process becomes much more complex because /usr contains boot-critical components. In some situations (like installations on iSCSI drives), the boot process might not work at all.
Regards,
Alister
9 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hello
I really wonder what's trap in etc/profile and in each user .profile.
I try to google for it but I think I have no luck. Mostly hit is SNMP traps which I think it is not the same thing.
I want to know ...
1. What's a "trap 2 3" means and are there any other value I can set... (4 Replies)
Discussion started by: Smith
4 Replies
2. Solaris
I'm attempting to setup rootsh on Solaris 10 to log the activity of users who require root access. However it does not appear to be sourcing root's .profile file even when run with the '-i' option. I was wondering if anybody else has run into this and might have a solution.
Thank you. (9 Replies)
Discussion started by: kungfusnwbrdr
9 Replies
3. Shell Programming and Scripting
Hi,
I have to switch to a different user and execute certain commands and then come back to the original user
Ex: My id is 'usstage'. I need to switch to 'apstage', souce a script there, execute a function and then get back again to usstage.
Please note that I do not have expect installed... (4 Replies)
Discussion started by: sugan
4 Replies
4. AIX
Is it possible to switch to root(if allowed) and then with root privileges switch to another user account "ABC"? To further explain the scenario, ABC is an account which has sugroups=su2DEF and root is not part of su2DEF group. but, given that root can switch to any account(correct me if I am... (7 Replies)
Discussion started by: mtwain
7 Replies
5. Shell Programming and Scripting
I want to switch as another user without using password .Is it posiible ? I have one server B and I have logged in as username u1 but I want to login to that same server using username as u2 but I don't want to give the password for u2. (3 Replies)
Discussion started by: maitree
3 Replies
6. Shell Programming and Scripting
Hi Gurus,
I have a script that requires me to switch from local user to root. Anyone who has an idea on this since when i switch user to root it requires me to input root password.
It seems that i need to use expect module here, but i don't know how to create the object for this.
... (1 Reply)
Discussion started by: linuxgeek
1 Replies
7. Shell Programming and Scripting
Hi Team,
Thank you for your time.
i have a situation where the user IDs of the applicatio users have been locked down to Read only.
Hence I am writing a script to invoke their old .profile every time they login.
My problem is : when i run . $userpath/.profile from within the ksh script... (9 Replies)
Discussion started by: anitha111
9 Replies
8. Shell Programming and Scripting
Hi,
script1.sh
script2.sh
script3.sh
From above, script1.sh is the main script which is executed from root user, creates installation directory, changing ownership and execution rights etc..etc.. and finally calls scripot2.sh and script3.sh to create the database as well as for post... (1 Reply)
Discussion started by: milink
1 Replies
9. Shell Programming and Scripting
Hi,
I need to switch from local user to root user in a shell script.
I need to make it automated so that it doesn't prompt for the root password.
I heard the su command will do that work but it prompt for the password.
and also can someone tell me whether su command spawns a new shell or... (1 Reply)
Discussion started by: Little
1 Replies
LEARN ABOUT SUSE
smoltsendprofile
SMOLTSENDPROFILE(1) General Commands Manual SMOLTSENDPROFILE(1)
NAME
smoltSendProfie - Submit Smolt hardware profile to server
SYNOPSIS
smoltSendProfile [options]
DESCRIPTION
smoltSendProfile program submits the hardware profile of the current machine to the Smoon server. Smolt is a cross-desktop hardware report-
ing tool for GNU/Linux based systems.
OPTIONS
-p, --printOnly
Display information only; do not send
-a, --autoSend
Don't prompt to send; just send
-r, --retry
Continue to send until success
-c, --checkin
Automated check-in, suitable for cron-jobs
-S, --scanOnly
Only scan this machine for known hardware errata; do not send profile
--submitOnly
Do not scan this machine for known hardware errata; only submit profile
-b, --bodhi
Submit this profile to Bodhi as well, for Fedora Developmnent
-n, --newPublicUUID
Request a new public UUID
-s SMOON_URL, --server=SMOON_URL
Specify the URL of the server
-u USERAGENT, --useragent=USERAGENT, --user_agent=USERAGENT
Specify HTTP user agent (default "smolt/0.97")
-t TIMEOUT, --timeout=TIMEOUT
Specify HTTP timeout in seconds (default 60.0 seconds)
--uuidFile=UUIDFILE
Specify which UUID to use; useful for debugging and testing
--username=USERNAME
Fedora Account System registration username
--password=PASSWORD
Fedora Account System registration password (will prompt if not specified)
-d, --debug
Enable debug information
--version
Show program's version number and exit
-h, --help
Show this help message and exit
SEE ALSO
smoltDeleteProfile(1), smoltGui(1).
AUTHOR
smoltSendProfile was written by Mike McGrath <mmcgrath@redhat.com> and others.
This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others).
February 27 2008 SMOLTSENDPROFILE(1)