"su" versus "su -" = "su -l" = "su --log" was: [opensuse-factory] Trouble starting yast2 from terminal

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

"su" versus "su -" = "su -l" = "su --log" was: [opensuse-factory] Trouble starting yast2 from terminal

Martin Seidler-2
To: [hidden email]
CC: [hidden email]
= http://lists.opensuse.org/opensuse-factory/2011-03/msg00298.html

Am 10/03/11 10:47, schrieb Vincent Untz:
[...]
> Use "su -", not "su". I'm actively wondering if there's any reason to
> keep the "su" default behavior around. It just keeps harming us again
> and again.
[...]
>
> Vincent
>
Hi Vincent, hi Frank, hello all,

I think this should at least be reflected in the documentation.
But there is used the su program without even mentioning the login shell
( --log/ -l/ -) option:

Reference > Chapter 21. Shell Basics > 21.4. Becoming Root > 21.4.1.
Using su
http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-reference/cha.new.bash.html#sec.new.bash.root

I rate the hole reworking and expand the printed/book like manuals was a
great operation (that should be mentioned in the 'highlights' article of
11.4). But maybe it some background (like: su versus su- ; what are
gnomesu, kdesu, gksu, gksudo, xdg-su -c "[command]", ....like?) and
explanations could be done in the wiki (at least as an unstable/stage
version before including it/parts of it to the manuals)?

Compare also:
on the su/su - issue
http://forums.opensuse.org/english/get-technical-help-here/pre-release-beta/455279-after-zypper-dup-11-4-most-graphical-yast-modules-do-not-start-via-yast.html#post2302930
and following
http://forums.opensuse.org/english/other-forums/community-fun/opensuse-wiki-discussions/447159-updated-http-en-opensuse-org-sdb-alsa-update-need-review-approval.html#post2302873
and following

On the basics and concepts of security
http://lists.opensuse.org/opensuse-doc/2011-03/msg00001.html and following


Regards
Martin
(pistazienfresser)



--

- Martin Seidler
- openSUSE profile: https://users.opensuse.org/show/pistazienfresser
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: "su" versus "su -" = "su -l" = "su --log" was: [opensuse-factory] Trouble starting yast2 from terminal

Martin Seidler-2
Am 15/03/11 12:16, schrieb pistazienfresser (see profile):

> To: [hidden email]
> CC: [hidden email]
> = http://lists.opensuse.org/opensuse-factory/2011-03/msg00298.html
>
> Am 10/03/11 10:47, schrieb Vincent Untz:
> [...]
>> Use "su -", not "su". I'm actively wondering if there's any reason to
>> keep the "su" default behavior around. It just keeps harming us again
>> and again.
> [...]
>>
>> Vincent
>>
> Hi Vincent, hi Frank, hello all,
>
> I think this should at least be reflected in the documentation.
> But there is used the su program without even mentioning the login shell
> ( --log/ -l/ -) option:
[...]
Now filled as bugreport against the Documentation:
Novell's bugzilla:
Bug 682726 - Reference suggests only "su" instead of "su -"/su -l/su
--login "make the shell a login shell"
https://bugzilla.novell.com/show_bug.cgi?id=682726

Regards
Martin



--

- Martin Seidler
- openSUSE profile: https://users.opensuse.org/show/pistazienfresser
--
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]