Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29440 - su -l, login don't work
Summary: su -l, login don't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Highest normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-23 09:49 UTC by Alexey Parshin
Modified: 2003-09-23 21:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Results of emerge info (emerge.info,1.24 KB, text/plain)
2003-09-23 09:50 UTC, Alexey Parshin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Parshin 2003-09-23 09:49:20 UTC
Attempt to use "su -l" with the user name generate a message:

star root # su -l informix
informix: informix: No such file or directory

The home directory exists. The rights on thos directory also defined correctly.
The original 'guest' user w/o the home dir also creates the same message.

star root # su -l guest   
guest: guest: No such file or directory

However, ssh -l informix localhost works fine:

star root # ssh -l informix localhost
informix@localhost's password: 
Last login: Tue Sep 23 09:47:11 2003 from localhost
informix@star informix $
Comment 1 Alexey Parshin 2003-09-23 09:50:01 UTC
Created attachment 18208 [details]
Results of emerge info
Comment 2 Alexey Parshin 2003-09-23 09:52:08 UTC
Attempt to execute 'login <username>' freezes the terminal:

star root # login informix
Password: 

Comment 3 SpanKY gentoo-dev 2003-09-23 21:08:16 UTC
`man su`

SYNOPSIS
       su [-] [username [args]]

as for running `login` yourself, well to be honest that should never be done :P