All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Local Groups Are Not Found/Recognized
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
Local Groups Are Not Found/Recognized - Oct. 5, '05, 8:37:35 AM
|
|
|
solargus
Posts: 20
Joined: Sep. 21, '05,
Status: offline
|
I'm trying to add an account, but I get the following error:
useradd: Error: Local group +Administrators does not exit
Huh??? How can it not find the +Administrators group? It *definitely* exists.
Interix can't find +Users or +SYSTEM either. This is really odd.
Thanks for your help.
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 5, '05, 8:38:58 AM
|
|
|
solargus
Posts: 20
Joined: Sep. 21, '05,
Status: offline
|
Argh! The error is "...Local group +Administrators does not exist"
Sorry for the typo.
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 5, '05, 12:05:06 PM
|
|
|
Rodney
Posts: 3696
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
In all likelyhood you are using the useradd script that came with SFU 3.5.
It was actually written for version 2.2 of Interix and doesn't work for Interix 3.0 or 3.5.
The thing to use are the updated scripts in the package "admin_scripts".
(Sorry it's not on the Warehouse web page, but it is at the ftp site).
With the /Tools installation utilities do:
pkg_update -L admin_scripts
You will find the three admin scripts get placed in /usr/local/sbin.
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 5, '05, 2:05:53 PM
|
|
|
solargus
Posts: 20
Joined: Sep. 21, '05,
Status: offline
|
It is the /usr/local/sbin version of the useradd script that I am using. However, to be absolutely sure, I re-installed it. Unfortunately, I still have the same problem.
Here is exactly what I did:
1) Downloaded the .zip file from the FTP site
2) mkdir /var/db/pkg/admin_scripts-current-bin
3) Place .zip file into /var/db/pkg/admin_scripts-current-bin
4) cd /var/db/pkg/admin_scripts-current-bin
5) pkg_update -l `pwd` admin_scripts
6) provide user name and password to installation
Then the system responded with:
Starting checks for updates
.Done.
%
At that point I went back to /usr/local/sbin, verified that the useradd script relected the new date and entered:
./useradd -g +Administrators -d /home/user -s /bin/csh -p password user
Again, I get:
useradd: Error: Local group +Administrators does not exist.
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 5, '05, 10:19:30 PM
|
|
|
markfunk
Posts: 669
Joined: Mar. 31, '03,
Status: offline
|
That's because there is no local group called "+Administrators".
useradd works locally by default (it just knows about local accts and groups)
If you want it to work at a domain level, you need to use the -W option.
useradd is just a wrapper to Windows tools.
It is _not_ an Interix application, so it doesn't know about Interix
conventions. (like +Administrators).
So you need to do "useradd -g Administrators .... newLocalUserName"
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 6, '05, 7:58:26 AM
|
|
|
solargus
Posts: 20
Joined: Sep. 21, '05,
Status: offline
|
Well, I did want to make the account local, but you called it right on the "+". And though I had tried it without the plus sign, I had forgotten that on that same itteration, I had also incorrectly designated the user as <domain>.<user>, mixing a second Interix construct into my command. Boy, do I feel dumb.
Thanks so much for your help. You guys know your stuff. :o)
|
|
|
RE: Local Groups Are Not Found/Recognized - Oct. 6, '05, 8:05:09 AM
|
|
|
solargus
Posts: 20
Joined: Sep. 21, '05,
Status: offline
|
Oops... I meant I incorrectly designated it as <domain>+<user>.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|