Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #228169
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: PATH nfg after su |
| Date | 2020-10-24 21:40 +0200 |
| Message-ID | <B3xyp-81g-7@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <B34d4-7mX-7@gated-at.bofh.it> <B34wq-7t7-13@gated-at.bofh.it> <B3597-7V6-13@gated-at.bofh.it> <B39w6-1Tx-5@gated-at.bofh.it> <B3xf3-7V0-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sat, Oct 24, 2020 at 07:12:20PM +0000, Andrew M.A. Cater wrote: [...] > sudo su - has one advantage: it gives you root's path and root's home directory - so you end up in /home/root or wherever root's > home is set to. Otherwise, you end up, potentially, in the calling user's home directory. Not with sudo -i. This one runs a login shell for the user you "sudo" to and puts you in its home directory. More or less what "su -" does. Cheers - t
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PATH nfg after su Bob Bernstein <poobah@ruptured-duck.com> - 2020-10-23 04:40 +0200
Re: PATH nfg after su Bob Bernstein <poobah@ruptured-duck.com> - 2020-10-23 05:50 +0200
Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:10 +0200
Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:20 +0200
Re: PATH nfg after su Tixy <tixy@yxit.co.uk> - 2020-10-23 14:40 +0200
Re: PATH nfg after su Greg Wooledge <wooledg@eeg.ccf.org> - 2020-10-23 14:40 +0200
Re: PATH nfg after su Sven Hartge <sven@svenhartge.de> - 2020-10-23 15:20 +0200
Re: PATH nfg after su Tixy <tixy@yxit.co.uk> - 2020-10-23 20:00 +0200
Re: PATH nfg after su Dan Ritter <dsr@randomstring.org> - 2020-10-23 20:10 +0200
Re: PATH nfg after su "Andrew M.A. Cater" <amacater@einval.com> - 2020-10-24 21:20 +0200
Re: PATH nfg after su <tomas@tuxteam.de> - 2020-10-24 21:40 +0200
Re: PATH nfg after su "Andrew M.A. Cater" <amacater@einval.com> - 2020-10-23 14:20 +0200
csiph-web