[Comm] man su

Mikhail Gusarov dottedmag dottedmag.net
11 11:48:01 MSK 2008


Twas brillig at 14:45:15 11.02.2008 UTC+06 when Mikhail Gusarov did gyre and gimble:

 MG> Спецификация SUSv3 про su ничего не говорит, LSB же описывает
 MG> поведение su без минуса достаточно расплывчато, так что и поведение
 MG> в ALT, и поведение в остальных распространённых дистрибутивах,
 MG> удовлетворяет ему.

http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/su.html

"If the option - is not specified, and if the first operand is not -,
the environemnt for the new shell shall be intialized from the current
environment. If none of the -m, -p, or --preserve-environment options
are specified, the environment may be modified in unspecified ways
before invoking the shell."

Т.е. su из ALT никак не пользуется правом "may be modified", su из
остальных дистрибутивов - пользуется.

-- 
JID: dottedmag  jabber.dottedmag.net
-----------   -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 188 байтов
Описание: отсутствует
Url     : http://lists.altlinux.org/pipermail/community/attachments/20080211/0eda1682/attachment.bin 


community