Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] konsole

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.
Dave P

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

< Previous Next >
This Thread
Follow Ups