login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
December
»
5
Re: ``login(1) -f'' usage
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Otto Moerbeek
Subject:
Re: ``login(1) -f'' usage
Date: Sunday, December 5, 2010 - 2:56 pm
On Sun, Dec 05, 2010 at 07:58:34PM +0100, MERIGHI Marcus wrote:
quoted text
> When I use ``login -f $USER'' in default shell I am prompted for > ``Password:''. What am I getting wrong about login(1) saying: > > -f The -f option is used when a user name is specified to indicate > that proper authentication has already been done and that no > password need be requested. This option may only be used by the > superuser or when an already logged in user is logging in as > themselves. > > (It works as expected when run as root or with sudo, though) > > Please hit me with the clue stick! > > Bye, > Marcus
You fall into the "Note that if login is invoked by a non-root user, it will execute su(1) in login emulation mode instead." case. I believe this is a documentation error. -Otto
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
``login(1) -f'' usage
, MERIGHI Marcus
, (Sun Dec 5, 11:58 am)
Re: ``login(1) -f'' usage
, Otto Moerbeek
, (Sun Dec 5, 2:56 pm)
Re: ``login(1) -f'' usage
, MERIGHI Marcus
, (Mon Dec 6, 2:18 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Wink Saville
How-to combine several separate git repos?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
Steven Grimm
Re: Git User's Survey 2007 unfinished summary continued
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
Linux 2.6.26-rc3
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
Colocation donated by:
Syndicate