+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 26
Windows Thread, Linux SuperUser command, but for Windows in Technical; Hi, Does anyone know of an equivalent of the Linux/Unix su command for Windows? I need a way of being ...
  1. #1
    MrLudwig's Avatar
    Join Date
    Jul 2005
    Location
    Behind You!
    Posts
    107
    Thank Post
    46
    Thanked 6 Times in 6 Posts
    Rep Power
    20

    Linux SuperUser command, but for Windows

    Hi,

    Does anyone know of an equivalent of the Linux/Unix su command for Windows?

    I need a way of being able to temporarily access files/folders and settings that are normally locked-down for the students, without the need to log them off and login as myself.

    Thanks.


    MrLudwig

  2. #2
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,491
    Thank Post
    10
    Thanked 502 Times in 442 Posts
    Rep Power
    114

    Re: Linux SuperUser command, but for Windows

    runas?

  3. #3

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Linux SuperUser command, but for Windows

    Well, runas is more like the su command in *nix.

  4. #4

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Linux SuperUser command, but for Windows

    This presupposes you have enabled file context menus (right-clicking) or the command prompt in user profiles.

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Linux SuperUser command, but for Windows

    well you can always psexec into a machine remotely and do it that way.

  6. #6

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Linux SuperUser command, but for Windows

    Yeah but no GUI and no network resources and unless you want to transmit admin credentials in clear text

    Has any setup an SSH daemon/service or their Windows boxes?

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Linux SuperUser command, but for Windows


  8. #8


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Linux SuperUser command, but for Windows

    also IIRC commercial ssh runs on windows and is free for edu

  9. #9

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Linux SuperUser command, but for Windows

    /me rubs hands with glee

  10. #10
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: Linux SuperUser command, but for Windows

    I have used a SSH server on my home PC for a bit now. If you want more than a command line interface as well bitvise tunnelier is a nice windows ssh client which makes it nice and easy to do various tasks quick and simple.

  11. #11

    Join Date
    Feb 2006
    Posts
    1,187
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: Linux SuperUser command, but for Windows

    Am I correct in understanding that Microsoft have made thing so that you can't run a remote desktop session on an XP box unless the console session is locked or logged out.

  12. #12
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: Linux SuperUser command, but for Windows

    Yes but you could also VNC over SSH if you want.

  13. #13

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Linux SuperUser command, but for Windows

    Quote Originally Posted by NetworkGeezer
    Am I correct in understanding that Microsoft have made thing so that you can't run a remote desktop session on an XP box unless the console session is locked or logged out.
    I'm sure there's a command line option for connecting to the users desktop rather than logging them out and locking the workstation. It's something like -console.

  14. #14
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,995
    Thank Post
    123
    Thanked 286 Times in 263 Posts
    Rep Power
    108

    Re: Linux SuperUser command, but for Windows

    There is a /console switch that claims to connect to the console session of a server but when I tried it I never seemed to get the syntax right as I always ended up with a GUI.

  15. #15
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    34

    Re: Linux SuperUser command, but for Windows

    You can make a terminal server connection to one of your servers and log in with admin credentials. That won't let you make settings in config dialogs, but I'm not sure any of the suggestions here do except runas.

    In some cases you could probably make a shortcut to the program you want to run and under the shortcut's properties, shortcut tab, advanced, tick "run with different credentials". You can use iexplore.exe for file management under a different account but you need to F5 after deleting files for it to display properly.

    In the case of control panel applets you'll want to makea shortcut to the actual .cpl file and modify that - otherwise "run with different credentials" will be unavailable.



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Windows or Linux -- A Question
    By Disease in forum How do you do....it?
    Replies: 48
    Last Post: 21st June 2007, 01:05 PM
  2. Windows Vista or Ubuntu Linux?
    By NetDiag in forum Windows Vista
    Replies: 134
    Last Post: 5th February 2007, 12:23 AM
  3. Replies: 5
    Last Post: 30th January 2007, 09:21 AM
  4. Replies: 3
    Last Post: 4th January 2007, 10:09 PM
  5. Switching from Linux to Windows.
    By Geoff in forum *nix
    Replies: 5
    Last Post: 23rd January 2006, 01:14 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •