Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] konsole
* 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*
exit
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
same.

--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode

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

< Previous Next >
This Thread
Follow Ups