Article View: aus.computers.linux
Article #57883Re: login logs me out
From: Herbert Xu
Date: Mon, 19 Aug 1996 00:00
Date: Mon, 19 Aug 1996 00:00
25 lines
1436 bytes
1436 bytes
Terry Dawson wrote:
>
> Kent Tong (freemant@wr.com.au) wrote:
>
> : When I try to use the "login" command to login as another
> : user (currently I am root), it logs me out, ie, it either
> : displays the login prompt again (text mode) or kills the
> : xterm (in X). What is going on? I am pretty sure I can do
> : this on the unix machines in univ. Any idea? TIA!
>
> Check that the permissions of your login are correct.
>
> Login should have permissions of:
>
> 4755 and be owned by root.
Actually it may be a good idea not to have login suid. The user
really shouldn't use login to change user, su is supposed to
to do that.
--
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
A. B <=> True B. A <=> False
Email: Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
PGP Key: pgp-public-keys@pgp.mit.edu or any other key sites
Technical Details
Message-ID:
<32181D46.17D46ECA@greathan.apana.org.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4uvh2p$21t@metro.usyd.edu.au> <4v8hl6$ha8@cdn_news.telecom.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,778f67cece9f1d93 X-Google-Attributes: gid102983,public From: Herbert Xu <herbert@greathan.apana.org.au> Subject: Re: login logs me out Date: 1996/08/19 Message-ID: <32181D46.17D46ECA@greathan.apana.org.au> X-Deja-AN: 175266170 references: <4uvh2p$21t@metro.usyd.edu.au> <4v8hl6$ha8@cdn_news.telecom.com.au> content-type: text/plain; charset=us-ascii organization: Valinor mime-version: 1.0 newsgroups: aus.computers.linux x-mailer: Mozilla 3.0b5aGold (X11; I; Linux 2.0.13 i586)