We help IT Professionals succeed at work.
Get Started

Solaris login problem

amandowara asked
Last Modified: 2013-12-27
I could either create or reset any user accounts in a Solaris10 machine. It gives me the error "Cannot update system files - login cannot be created". The solution I got from Internet is to look for the existence of /etc/passwd and /etc/shadow file. But they are very much in tact. Can you give me a fix to resolve this?

bash-3.00# useradd -m -d /users/rdashok rdashok
UX: useradd: ERROR: Cannot update system files - login cannot be created.
bash-3.00# passwd bsunkad
New Password:
Re-enter new Password:
passwd: Unexpected failure. Password database unchanged.
Permission denied
bash-3.00# ls -l /etc/passwd
-rw-r--r--   1 root     sys         1946 Nov 18 08:16 /etc/passwd
bash-3.00# ls -l /etc/shadow
-r--------   1 root     sys         1233 Nov 18 08:16 /etc/shadow
bash-3.00# ls -l /etc/group
-rw-r--r--   1 root     sys          368 Oct 10 17:37 /etc/group
bash-3.00# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c3t0d0s0    11093692 10749492  233264    98%    /

Open in new window

Watch Question
Top Expert 2007
This problem has been solved!
Unlock 2 Answers and 11 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE