Forums

×

Warning

JUser: :_load: Unable to load user with ID: 23943
Robert
Robert
Offline
Resolved
0 votes
Hi,

I have installed my first ClearOS system, and so far GREAT! However I am struggling to put a logon.cmd file in the NETLOGON folder. I can find the folder, but I can't create or copy anything to it (and it's empty), because I don't have permissions.

The user account I am using is on a ClearOS Windows Domain, and Administrator privilages within ClearOS.

Anyone knwo how to make domain admins read/write for NETLOGON?
Friday, June 03 2011, 03:44 PM
Share this post:
Responses (10)
  • Accepted Answer

    Friday, June 03 2011, 04:32 PM - #Permalink
    Resolved
    0 votes
    Can you use WinSCP as root then copy the file with that directly?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 03 2011, 04:46 PM - #Permalink
    Resolved
    0 votes
    I believe only the 'winadmin' user has write priviledges on this folder?

    ls -la /var/samba/
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Friday, June 03 2011, 08:24 PM - #Permalink
    Resolved
    0 votes
    ... and the winadmin user, wheres that in the system? Is it a built in account, if so whats the password?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, June 03 2011, 10:02 PM - #Permalink
    Resolved
    0 votes
    Hi Robert, it's the account you setup when you first installed and configured the Windows Settings in the webconfig.

    It's a built in domain administrator account for all windows networking related admin tasks
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Saturday, June 04 2011, 10:20 AM - #Permalink
    Resolved
    0 votes
    I chose to install 'everything', but don't remember being asked for anything specific for winadmin (but then I can forget). I just took a look and noted the 'Administrator Password' link - so perhaps this is what you mean. Will give it a go!
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Thursday, June 23 2011, 11:47 AM - #Permalink
    Resolved
    0 votes
    For all those that have made suggestion, just wanted to let you know that I discovered where the winadmin account is managed etc, and have managed to edit the logon script succesfully! Thankyou Guys!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 23 2011, 06:07 PM - #Permalink
    Resolved
    0 votes
    Would you mind sharing that valuable piece of information.
    thanks in advance
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Thursday, June 23 2011, 07:03 PM - #Permalink
    Resolved
    0 votes
    sorry, this is what I did!

    1. Go to your webadmin page, select server, then windows settings, in the panel headed 'Global Settings', click on the icon (arrow), next to 'administrator password'., then enter a new password into the boxes.

    Winadmin is a built in user account and that is where you set it's password.

    The I logged onto the domain using an XP pc with 'winadmin' and the new password.

    Then I went to 'start, run', and entered '\\servername\netlogon', the logon.cmd file was there and changes could be saved.

    Seems that it's the only account (winadmin) that can edit and save logon.cmd. My regular windows admin user (created via webmin), couldn't do it.

    Hope that clarifies.
    The reply is currently minimized Show
  • Accepted Answer

    Robert
    Robert
    Offline
    Thursday, June 23 2011, 07:04 PM - #Permalink
    Resolved
    0 votes
    sorry, this is what I did!

    1. Go to your webadmin page, select server, then windows settings, in the panel headed 'Global Settings', click on the icon (arrow), next to 'administrator password'., then enter a new password into the boxes.

    Winadmin is a built in user account and that is where you set it's password.

    The I logged onto the domain using an XP pc with 'winadmin' and the new password.

    Then I went to 'start, run', and entered '\\servername\netlogon', the logon.cmd file was there and changes could be saved.

    Seems that it's the only account (winadmin) that can edit and save logon.cmd. My regular windows admin user (created via webmin), couldn't do it.

    Hope that clarifies.
    The reply is currently minimized Show
  • Accepted Answer

    P Jones
    P Jones
    Offline
    Friday, June 24 2011, 09:33 PM - #Permalink
    Resolved
    0 votes
    Another option is to edit the logon.cmd file right on the server as root using your favorite editor. The file then needs to be converted to text that Windows understands. The unix2dos utility takes care of this. Install it like so:

    yum install unix2dos


    Then do a:

    unix2dos /var/samba/netlogon/logon.cmd
    The reply is currently minimized Show
Your Reply