login

login

Post by Stev » Sun, 17 Jun 2001 03:59:05



I have a problem since I updated shadow package to newest version. When I
login after authentication I have to wait 1 minute before I get the prompt.
I straced the login and during the timeout period the command is issuing
the following instructions:

gettimeofday({...}, NULL)         = 0
327   socket(PF_UNSPEC, 0 /* SOCK_??? */, 0) = 4
327   getpid()                          = 327
327   bind(0, NULL, 0)                  = 0
327   ioctl(4, FIONBIO, 0xbfffd148)     = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
327   close(4)                          = 0
327   open("/etc/ld.so.cache", O_RDONLY) = 4
327   fstat(4, {st_mode=S_IFCHR|S_ISUID|S_ISGID|S_ISVTX|05613600056,
st_rdev=makedev(47, 46), ...}) = 0
327   mmap(0x2e2f2e2e, 774778670, 0x2f002e00, 0 /* MAP_???
*/|MAP_GROWSDOWN|MAP_DENYWRITE|0x72702600, 1932485487, 0x2f666c65) =
0x40161000
327   close(4)                          = 0

I was told it is something tied to the nameserver. (which is not running on
my system).

See if you can help

 
 
 

login

Post by Dave Uhrin » Sun, 17 Jun 2001 12:41:10



> I have a problem since I updated shadow package to newest version. When I
> login after authentication I have to wait 1 minute before I get the
> prompt. I straced the login and during the timeout period the command is
> issuing the following instructions:

> gettimeofday({...}, NULL)         = 0
> 327   socket(PF_UNSPEC, 0 /* SOCK_??? */, 0) = 4
> 327   getpid()                          = 327
> 327   bind(0, NULL, 0)                  = 0
> 327   ioctl(4, FIONBIO, 0xbfffd148)     = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   sendto(0, NULL, 0, 0, NULL, 0)    = 56
> 327   poll(0xbfffd11c, 0x1, 0x1388, 0x4015cca0, 0xbfffd11c) = 0
> 327   ioctl(4, SIOCGIFCONF, 0xbfffae24) = 0
> 327   ioctl(4, SIOCGIFFLAGS, 0xbfffae2c) = 0
> 327   close(4)                          = 0
> 327   open("/etc/ld.so.cache", O_RDONLY) = 4
> 327   fstat(4, {st_mode=S_IFCHR|S_ISUID|S_ISGID|S_ISVTX|05613600056,
> st_rdev=makedev(47, 46), ...}) = 0
> 327   mmap(0x2e2f2e2e, 774778670, 0x2f002e00, 0 /* MAP_???
> */|MAP_GROWSDOWN|MAP_DENYWRITE|0x72702600, 1932485487, 0x2f666c65) =
> 0x40161000
> 327   close(4)                          = 0

> I was told it is something tied to the nameserver. (which is not running
> on my system).

> See if you can help

You might want to change your passwords so that /etc/shadow has passwords
created with the new package.

 
 
 

login

Post by Stev » Wed, 20 Jun 2001 05:34:55



> You might want to change your passwords so that /etc/shadow has passwords
> created with the new package.

Tried but still have the same problem
 
 
 

1. Login without login getting recorded into last login file

Is there anyway to login to an account 'as a normal user' without your
login getting recorded into the last login file.

I know that this is a binary file and no one could re-write it. Moreover,
I know that .hushlogin file could also be created in /etc and that would
tell the system not to record the current login, but you would have to be
GOD (root) to be able to create that file in /etc

So, I would appreciate any assistance that anyone could offer on this
matter.

********************************************************************
********************************************************************
**     WILLIAM GHORISHI                                           **
**     DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF TORONTO      **

**     URL          :   http://www.scar.utoronto.ca/~93ghoris/    **
**     BELIEF       :   "GOD IS REAL, UNLESS CAST TO AN INTEGER!" **
********************************************************************
********************************************************************

2. Setting up a diskless workstatoin

3. getting users login name after login from server

4. how do I use mksysb

5. Failed logins - login.defs

6. Mincom for Solaris (8)?

7. No login? Cant login.

8. Mosaic:"Can't find libXm.so.1"

9. New Login Prompt after Login Attempt HELP!!!

10. XDM login vs remote login (determining which one)

11. how to substitute the remote login menu for the regular login text box in CDE.

12. cde login does not read .login Solaris 2.5.1

13. Pre-Login and Login Messages?