prompts in command examples

Jason Taylor jmtaylor90 at gmail.com
Sat Oct 4 22:28:27 UTC 2008


On Fri, 2008-10-03 at 08:20 +1000, Murray McAllister wrote:
> On Fri, Oct 3, 2008 at 2:32 AM, Karsten 'quaid' Wade <kwade at redhat.com> wrote:
> >
> > On Wed, 2008-10-01 at 22:32 -0400, Paul W. Frields wrote:
> >
> >> Note that the su command removes the need for the user to look for
> >> niggling prompt details.  It also clarifies that the user should
> >> expect a prompt for the root password.
> >
> > In part of that discussion with the Content Services team, we discussed
> > the need for sudo to be enabled by default.  One person was in favor of
> > having each document specify how to enable sudo, but I don't like that
> > rat hole.  That is another point we could discuss, however, if any
> > Anonymous Cowards are interested in fixing the common usage.  Meanwhile,
> > I'm advocating for a sane sudo-by-default in future Fedora versions so
> > we can stop having to use 'su -c'.
> >
> > - Karsten
> 
> I leave this out. I have text preceding the command saying "Run the
> following command as the Linux root user:", because I'm too lazy to
> decide between sudo or su ;)

I agree that a standard for documentation purposes of using 'su -c' or
'sudo' is a good thing. On a tangent, however, I have noticed with sudo
that it doesn't always find the command that the user is trying to run.
For example, try and run restorecon as sudo. It doesn't work
out-of-the-box at least for me anyway.

-Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-docs-list/attachments/20081004/e50c383d/attachment.sig>


More information about the fedora-docs-list mailing list