Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] konsole
* Patrick Shanahan <paka@xxxxxxxxxxxx> [06-23-17 09:06]:
* Dave Plater <dplater.list@xxxxxxxxx> [06-23-17 08:28]:

On 23/06/2017 13:47, Patrick Shanahan wrote:
* Dave Plater <dplater.list@xxxxxxxxx> [06-23-17 03:06]:

On 22/06/2017 17:38, Patrick Shanahan wrote:
no, "-p" does not get you a login shell for root!
It does for me, full root privileges.

do in konsole:
su -p
env |sort > env.p.txt
ls -la ./env*
su -
env |sort > env.w.txt
ls -la ./env*

do you see both of the files you just generated?
were the files the same size

su -p
ls -la ./env*

do you see both of the files you just generated

is root's environment different between the two access methods? can you
even see each others files even thou they have the same permissions?

The environments are all different in each flavor of su but in any of them
you have root privileges and you are able to alter that environment because
you have permissions to do so.

no, they are not. can you see the environment text file generated by "-p"
in "su -" or can you see it generated by "-" in "su -p"? I cannot. even
the permissions are different althou the displayed file perms are the

a prudent statement would be that "su -p" satisfies your needs, not that
they provide the same priviledges. and I would agree.

(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @
Photos: paka @ IRCnet freenode

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread