Adding /sbin and /usr/sbin to everyone's path in F10
Toshio Kuratomi
a.badger at gmail.com
Thu Apr 24 16:23:56 UTC 2008
Axel Thimm wrote:
>> And in one window you're busily typing away root commands while the other
>> is tailing your applications log file as a normal user.
>
> Why a normal user? Is this a remote system in pain managed by myself
> or is this my desktop system I happen to be logged on as a non-root
> user?
>
> I don't see multiple xterms as an argument to running diagnosics and
> other utils as non-root. The only time I would like to become non-root
> on these systems is to see whether there are any ACL issues with what
> I just fixed.
>
You don't become non-root. You start off as non-root. Then you su - as
needed. Opening up a connection and su - may well be what I did in the
first window immediately. But in the second terminal why bother with
that? My immediate concern was tailing the already readable log file.
No reason to su -; cd /wherever/i/was/before/i/used/su ; tail -f
app.log. Running getenforce is a spur of the moment inspiration. It
should be simple to Ctrl-Z that log; sudo getenforce; fg since I'm doing
something else in the terminal where I'm already su'd.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080424/8a4c83d4/attachment.sig>
More information about the fedora-devel-list
mailing list