<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Shell scripting: Reading a root password with su-to-root shell script</title> <atom:link href="http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: nixcraft</title><link>http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html#comment-6044</link> <dc:creator>nixcraft</dc:creator> <pubDate>Wed, 30 Aug 2006 15:24:45 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html#comment-6044</guid> <description>Setup sudo to run command as root user so that you can avoid  the password prompt:
http://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html</description> <content:encoded><![CDATA[<p>Setup sudo to run command as root user so that you can avoid  the password prompt:</p><p><a
href="http://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html" rel="nofollow">http://www.cyberciti.biz/tips/allow-a-normal-user-to-run-commands-as-root.html</a></p> ]]></content:encoded> </item> <item><title>By: Puneet</title><link>http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html#comment-5984</link> <dc:creator>Puneet</dc:creator> <pubDate>Wed, 30 Aug 2006 07:28:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/shell-scripting-reading-a-root-password.html#comment-5984</guid> <description>How to avoid the password prompt or provide some default value while running su command through shell script on Linux?
The problem I am facing is that the shell script contains the su oracle command which prompts for a password, whereas I don&#039;t want any user interaction once the script is triggered.
To add on, the script is not triggered from root user, otherwise if run from root the password was not required.</description> <content:encoded><![CDATA[<p>How to avoid the password prompt or provide some default value while running su command through shell script on Linux?</p><p>The problem I am facing is that the shell script contains the su oracle command which prompts for a password, whereas I don&#8217;t want any user interaction once the script is triggered.</p><p>To add on, the script is not triggered from root user, otherwise if run from root the password was not required.</p> ]]></content:encoded> </item> </channel> </rss>
