Discussion:
Unable to add user to Milax 0.5
Siem Korteweg
2010-07-14 10:18:46 UTC
Permalink
Hi,

Adding a user fails:

(***@milax)# useradd siem
UX: useradd: ERROR: Cannot update system files - login cannot be created.

Both the passwd and show files exist:
(***@milax)# ls -l /etc/passwd /etc/shadow
-rw-r--r-- 1 root sys 1020 Feb 4 04:17 /etc/passwd
-r-------- 1 root sys 506 Jul 13 14:28 /etc/shadow

No logging is produced, so I ran the command again with truss. The attached file contains the output from truss.

regards,
Siem Korteweg
--
This message posted from opensolaris.org
Siem Korteweg
2010-07-14 11:35:29 UTC
Permalink
Hi,

Adding the -f option to the truss command reveals the problem:

execve("/usr/bin/passmgmt", 0x0806BF58, 0x0806D3C8) Err#2 ENOENT

The program /usr/bin/passmgmt is missing and thus cannot be executed.

regards,
Siem Korteweg
--
This message posted from opensolaris.org
Alexander Eremin
2010-07-14 11:49:08 UTC
Permalink
Post by Siem Korteweg
Hi,
execve("/usr/bin/passmgmt", 0x0806BF58, 0x0806D3C8) Err#2 ENOENT
The program /usr/bin/passmgmt is missing and thus cannot be executed.
regards,
Siem Korteweg
I put them in http://milax.org/files/missing05.tar.gz
--
::alhazred
Loading...