+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 5 of 6

Thread: Shutdown Privilege

  1. #1
    pE71J5Sw
    Guest

    Shutdown Privilege

    Friends,



    I have to grant SHUTDOWN privilege to an ordinary user.

    How this can be achieved?



    J1yant
    More Information:
    1. A computer can be shut down using the Win32Shutdown method, specifying 1 as the parameter value
    2. A part of Remote Desktop is to hide the Shutdown button, so there is no simple way for the user to restart their PC unless they're installed
    3. my user the return error is (no privilege) in the web i found how to change the privilege for shutdown and inserted it in my module
    4. local Administrators group, I think the privilege is already in place
    5. is used in this case to determine whether to assign the shutdown privilege
    6. 10, the DROP privilege is also required in order to use the statement ALTER TABLE

    More:


  2. #2
    dung77
    Guest

    What OS? Do you have any security package on the system (such as BoKS?)?



    Best bet without knowing the answers to these questions - install and use sudo. This allows you to give certain users or groups some of the access as if they were root.
    More Information:
    1. This API using MFC is made to shutdown, log off or restart the computer either immediately
    2. It should be impossible to shutdown the system unless you have this shutdown privilege, regardless of which API or command is used
    3. Create a new group for the users you wish to have this privilege (For this example, I will use 'shutdown'
    4. You could use the the "tsshutdn" or "shutdown" commands from the command line on the remote PC while in a Remote Desktop session
    5. This allows the LUID for the shutdown privilege to be found in readiness for elevating the privileges of the process
    6. To shut down or restart the system, the calling process must use the AdjustTokenPrivileges function to enable the SE_SHUTDOWN_NAME privilege
    7. info file, unless you shutdown # the slave server, delete master
    8. This method uses the four API functions in turn to identify the current process, retrieve the current privileges, identify the shutdown privilege and grant it to the user

  3. #3
    thanchet123
    Guest

    OS is SCO UNix Ware 7.0

    The security package you mentioned is not installed.

    Without any such security package can we grant SHUTDOWN privilege.Is there any work around ?
    More Information:
    1. 5 posts - 4 authors - Last post: Jul 15, 2003dwPlatformId = VER_PLATFORM_WIN32_NT) End Function 'set the shut down privilege for the current application Private Sub EnableShutDown() Dim hProc
    2. 2 posts - 1 author - Last post: Jun 19, 2007Can't force remote shutdown/restart from RDP session Windows Vista Networking & Sharing
    3. Instantly closes the computer on ex ' ecution RtlAdjustPrivilege SE_SHUTDOWN_PRIVILEGE, 1, 0, 0' // Give us Shutdown Privileges NtShutdownSystem
    4. Attributes = SE_PRIVILEGE_ENABLED; /* Get shutdown privilege for this process
    5. For the purpose of this article we are going to use the 'SELECT' privilege
    6. As for granting shutdown privileges, this is how you would do that (might need to change localhost and replace the password as needed): GRANT SHUTDOWN ON *
    7. Add /f to make it a forced shutdown and see if it helps
    8. This is accomplished with the LookupPrivilegeValue function passing it the &quo
    9. 5 posts - 2 authors - Last post: Feb 5, 2002Friends, I have to grant SHUTDOWN privilege to an ordinary user
    10. The most common use is to give ALL PRIVILEGES on a database to a local user who has to use a password to access the database (in this case vworks)

  4. #4
    dphilong1905
    Guest

    Check out http://www.courtesan.com/sudo/runson.html
    More Information:
    1. username TEST privilege 5 password 0 cisco > ! > ! > privilege interface level 5 shutdown > privilege interface level 5 no shutdown > privilege interface
    2. I want to Shutdown my Windows 2000 by pressing a 'yes' or 'no' button programmed with a vb script
    3. 'Enable the shutdown privilege in the access token of this process
    4. This tip demonstrates how to shutdown, logoff and/or reboot a system
    5. i wanted to know that when i am restoring the data backed up by mysqlhotcopy, do i need to shutdown mysql server and then copy that database into database
    6. 'This routine enables the Shutdown privilege for the current process, 'which is necessary if you want to call ExitWindowsEx
    7. 37 on Slackware, I want to shutdown the database but get this: mysqladmin: shutdown failed; error: 'Access denied; you need the SHUTDOWN privilege for this operation'
    8. Wouldn't it be much easier to use WMI to shutdown any workstation in the network? Its just a few lines of code (if you use the WMI Scripting
    9. I would like to be able to have all tasks be shutdown and then the computer to shutdown much like

  5. #5
    khamcoi2710
    Guest

    Would it work to do something like the following?



    create a group called "shutdown"

    chgrp shutdown /sbin/shutdown

    chmod 4550 /sbin/shutdown

    add the users to the group "shutdown"



    Then they could "newgrp shutdown; /sbin/shutdown -y -h 0"...
    More Information:
    1. fResult = InitiateSystemShutdown( NULL, // shut down local computer lpMsg, // message for user 30, // time-out period, in seconds FALSE, // ask user to close apps
    2. By controlling this from AD, I can remove or grant the privilege just by moving machines between OU's
    3. The computer sending the shutdown command to a networked computer needs to be logged in as a user with administrative privileges on the computer receiving the shutdown
    4. enable shutdown privilege for the current application AdjustTokenPrivileges hToken, False, mPriv, 4 + (12 * mPriv
    5. 3 posts - 3 authors - Last post: Feb 18, 2008I would like to know if it is possible to create a normal “user” with “shut down” privileges? It is for this IBM EXS at the office that is using some scale down Linux

+ Reply to Thread
Page 1 of 2
1 2 LastLast

Similar Threads

  1. Unhappy to have the privilege to join the Google "Sandbox" penalty CLUB
    I'm unhappy to announce that one of my sites has the privilege to join the Google "Sandbox" penalty CLUB. The way I see it is that Google has to...
  2. Install Printer and port with User Privilege
    Archived from groups: microsoft.public.windowsxp.customize ()Hi there, We've got users who want to install printers from a website, lets say...
  3. Install Printer and port with User Privilege...How?
    Archived from groups: microsoft.public.windowsxp.configuration_manage ()Hi there, We've got users who want to install printers from a website,...
  4. Shutdown
    Archived from groups: alt.comp.periphs.mainboard.asus ()Sounds like you have the sasser virus -- John Crawford u1f6060@shaw.ca Canadian...
  5. XP - ShutDown - doesn't !
    I don't know if this is an XP problem or something else. I've got a brand new box with an Epox 8KHA sporting an Athlon 1600XP and I'm running...

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Welsh Yiddish