Using Solaris 5.6 and can add a user fine with useradd but when i go to add a user in admintool it says /etc/passwd is busy/in use. Any ideas anybody?
Many Thanks.
I have changed the permissions of the file admintool from rwxrwxrwx to rws r r and it seems to be working...to a point. I can now get to a stage that i can add a user but i gives duplicate/in use UID errors. I am sure i have seen this somewhere before so i will have a hunt around. Many thanks to all for your input so far.
Doesn't Admintool create a temporary file and use it as a lock mechanism?
Something like /etc/ptmp or /etc/passwd.tmp ?
If it does and an Admintool process is abnormally terminated, you might have to remove this file manually.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.