su(1) unveil ttyname

2019-01-27 Thread Anton Borowka
su(1) tries to log the tty name for successful/failed logins, but ontty()/ttyname() will currently not return anything useful because of unveil. This patch adds unveil for /var/run/dev.db. ttyname(3) has also a fallback that would need /dev/. I left it out, because I don't know if there i

Re: su.1

2010-03-10 Thread Igor Sobrado
On Tue, Mar 9, 2010 at 10:38 PM, Jason McIntyre wrote: > > we can talk about it right now, if anyone wants to. > > but let me say again - currently we say what an option does, and note > it is deprecated. you want to note it is deprectaed, and just point to > the now in-vogue option. some people w

Re: su.1

2010-03-09 Thread Jason McIntyre
On Tue, Mar 09, 2010 at 12:02:40PM +0200, Lars Nooden wrote: > > On 2010-3-9 12:17 AM, Jason McIntyre wrote: > > it could be emphasised more. but we have a lot of pages using a fairly > > standard format (describe what option does, but note it is > > deprecated). we could talk about moving all pa

Re: su.1

2010-03-09 Thread Lars Nooden
> On 2010/03/08 22:05, Lars Nooden wrote: >> That the option '-' is depreciated in favor of '-l' could be >> emphasized more. On 2010-3-8 11:44 PM, Stuart Henderson wrote: > it's 'deprecate', not 'depreciate', they have different meanings. Ok. I withdraw the suggestion due to the typo and other

Re: su.1

2010-03-08 Thread Jason McIntyre
iate" is not really correct. it's an oft-abused term, but it really just means that something has lost value. i guess we could argue that's a better description than "deprecate", but that again is another argument. in summary, i don;t see this going in. jmc > Index: su.1

su.1

2010-03-08 Thread Lars Nooden
That the option '-' is depreciated in favor of '-l' could be emphasized more. Index: su.1 === RCS file: /cvs/src/usr.bin/su/su.1,v retrieving revision 1.24 diff -u -p -r1.24 su.1 --- su.131 May 2007 19:2