Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

RE: pkg_add: not running as administrator

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> RE: pkg_add: not running as administrator Page: <<   < prev  1 [2]
Login
Message << Older Topic   Newer Topic >>
RE: pkg_add: not running as administrator - Jan. 29, '04, 10:30:12 PM   
markfunk

 

Posts: 673
Joined: Mar. 31, '03,
Status: offline
Actually, it doesn' t look like its restricted to OEM installs.
It seems that all standalone XP workstations behave this way by default (the Administrator account is not visible).

(in reply to peach)
Post #: 21
RE: pkg_add: not running as administrator - Jan. 30, '04, 8:36:29 AM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
Could be OEM or could be cuz most the OEM' s are pre-sp1' ed.

(in reply to markfunk)
Post #: 22
RE: pkg_add: not running as administrator - Jan. 30, '04, 11:04:46 AM   
peach

 

Posts: 24
Joined: Jan. 29, '04,
Status: offline
FYI,

Not OEM at all nor is it anything to do with SP1 or SP2, it is related to standalone workstations standard install. Although the id 197108 for Administrator is Created and appears to be there, even after setting the dword for Administrator that just alows the account to be seen. The Administrator account will still need to have a password setup which was the real crux of the issue since that password could not be created until the account was visable. Once the password is set then the dword type parameter can be set back to 0 so that it is hidden again and everything works fine. This also works quite well for adding other accounts that you want available on Windows when mapping to unix users without them having full accounts on the windows side of things (i.e. create the users then add them as dword entries in the registry to hide them).

So in summary the solution was:
1. Using regedit either add the dword or create a file to import the setting (this makes the Administrator account visable).
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
" Administrator" =dword:00000001
2. Set a password for the account.
3. Optionally set the dword:00000000 to hide the account again.
4. su - (using password set in step 2)
5. pkg_add .... and all works fine

Later, Peach

(in reply to markfunk)
Post #: 23
RE: pkg_add: not running as administrator - Jan. 30, '04, 12:02:54 PM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
If thats the case just use:
net user Administrator <newpassword>
or Control Panel -> Administrative Tools -> Computer Managment -> Local Users and Groups

(in reply to markfunk)
Post #: 24
RE: pkg_add: not running as administrator - Jan. 30, '04, 12:37:29 PM   
peach

 

Posts: 24
Joined: Jan. 29, '04,
Status: offline
I understand, there are many ways to solve the problem once the issue was known ... I just listed the one I used since I was already there while researching the problem...

Later, Peach

(in reply to markfunk)
Post #: 25
RE: pkg_add: not running as administrator - Jan. 30, '04, 12:39:51 PM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
Indeed an very well done for doing so. Ur a *. Was just letting peeps no the easy way :D

(in reply to markfunk)
Post #: 26
RE: pkg_add: not running as administrator - Feb. 4, '04, 2:56:11 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Going back a few postings...
The this thread was asking about running pkg_add as a member of the Administrators group.

The effort for this is, to say the least, non-trivial. It' s also really time consuming in the test, fix, retest, fix again...

We have a demo CD with 5 packages (plus supporting env* packages) that we handed out at Linux World (for free) as a promo. Microsoft has asked us for a ton more of them so that they can hand them out wherever they are promoting SFU 3.5. MS was interested in pkg_add et al. working with Administrators too. So... it has been done.

I' ve been in programmer sleep-light mode getting version 2 of the Sample CD going with Administrators over the past couple of days since Bill has to get it to the CD burner in a few minutes (literally). So it' ll be later today that a new set of install tools gets posted.

There are likely to be interoperability issues with installs that have used an earlier version of the installer due to file permission changes. If you start with this version of the installer (to be version 1.3) there shouldn' t be any issues. [famous last words of any programmer ]. So feedback will be appreciated on it. I' ll post here when it' s available.

(in reply to peach)
Post #: 27
RE: pkg_add: not running as administrator - Feb. 4, '04, 7:35:05 PM   
dtrucken

 

Posts: 9
Joined: Feb. 4, '04,
Status: offline
Can someone add the " net user Administrator <newpasswd>" trick to the downloads page, and/or into the text that is part of the " bootstrap" instructions? I had to read through this whole thread to find this one magic command.

Thanks in advance!

(in reply to markfunk)
Post #: 28
RE: pkg_add: not running as administrator - Sep. 7, '04, 1:38:23 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
This posting is many months later. A lot of people are referencing
this post. So just a message to close things off.

The installer allows for members of the Administrators group to do the
installs in addition to the Administrator. There have been other improvments
too (such as being faster). So always try and use the most recent version.
There is a web page with info on the installer at:

http://www.interopsystems.com/tools/pkg_install.htm

(in reply to dtrucken)
Post #: 29
RE: pkg_add: not running as administrator - Oct. 1, '04, 4:02:13 AM   
magus1011

 

Posts: 15
Status: offline
Um...

I know I'm new here and this is an old issue, but ...

The simplest way to logon to WinXP Pro as Administrator is to press the escape key -usually twice- when the pretty logon screen shows up. That action will take you to a text based logon where you can specify the user as "Administrator" -case doesn't matter- and type your password where case _does_ matter.

Just my $0.02 in the hopes of being helpful.

_____________________________

--
Best Regards,
Magus

(in reply to Rodney)
Post #: 30
Page:   <<   < prev  1 [2]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> RE: pkg_add: not running as administrator Page: <<   < prev  1 [2]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031