Re: sudo su

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 27May2017 21:36, Peter Gueckel <pgueckel@xxxxxxxxx> wrote:
OK, thanks, guys. I was just curious.

Well, closing a terminal emulator should normally sent SIGHUP to processes still on the terminal. Which may or may not exit (most will). And then there's job control and "disown"ed jobs (things you've asked to continue running by no longer being managed by the shell).

[...]
Now, I wonder about $PATH: what is the correct value "to find the
programs that root needs"?

In the sense used earlier, "what root gets as a login shell" i.e. when root's profile gets run. This the "su -l" etc. My preferred incantation is "su -" myself.

But nothing prevents you just adding /sbin and /usr/sbin etc to your own path; plenty of "administrative" commands make perfect sense to run as yourself in reporting mode. "ifconfig" is the one I notice missing most.

Get a root login shell. Inspect the $PATH. Update your own as you see fit.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux