Bug 6701 - exec login command fails
exec login command fails
Product: Red Hat Linux
Classification: Retired
Component: util-linux (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
Depends On:
  Show dependency treegraph
Reported: 1999-11-03 19:02 EST by roger
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-11-05 08:12:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description roger 1999-11-03 19:02:48 EST
entering "exec login <username>" gives the usual password
prompt, but fails when the password is entered. The log file
lynx login: setuid() failed

If the <username> is root, then the command is successful,
after entering the correct root password, but there is a
  No directory /root!
  Logging in with home = "/".he message

It appears that the login command is not executing setfsuid
Comment 1 Jeff Johnson 1999-11-05 08:12:59 EST
Unlike many other programs (and many other unices), login is
responsible for preserving the PAM session. This is done by
an extra fork. Working out the pokery-jiggery necessary to
	exec login ...
	login ...
to function "normally" is not worth the effort.

Note You need to log in before you can comment on or make changes to this bug.