Results 1 to 7 of 7

Thread: disable net user on opensuse

  1. #1

    Default disable net user on opensuse

    Hi,
    Ok. Windows offers a command called net which allows you to change User account passwords.
    ex. Net "user" "newpass"
    You can run this command in cmd.exe

    Well, If you rename Net @ c:/Windows/system32/net it will disable it from the command prompt
    But, Windows doesnt allow this action.

    How can I locate this file and rename it in OpenSuse console?
    Through bootdisk since It's
    not installed on my computer?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: disable net user on opensuse

    On 2013-11-28 00:46, gamergoat89 wrote:

    > How can I locate this file and rename it in OpenSuse console?
    > Through bootdisk since It's
    > not installed on my computer?


    Well, you need a live system (the kde or gnome images). Once booted, you
    will have to mount the windows "disks". Then just browse to the file and
    change it.

    It would probably be /run/media/USERNAME/DISKNAME/Windows/system32/net*

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  3. #3

    Default Re: disable net user on opensuse

    Quote Originally Posted by robin_listas View Post
    On 2013-11-28 00:46, gamergoat89 wrote:

    > How can I locate this file and rename it in OpenSuse console?
    > Through bootdisk since It's
    > not installed on my computer?


    Well, you need a live system (the kde or gnome images). Once booted, you
    will have to mount the windows "disks". Then just browse to the file and
    change it.

    It would probably be /run/media/USERNAME/DISKNAME/Windows/system32/net*

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    Can't it just be done in resue system in kernal?
    And
    what would be the diskname since its Linux?
    Also whats the rename command?

  4. #4

    Talking Re: disable net user on opensuse

    Oh ok Live KDE.
    Thank you

  5. #5
    Join Date
    Mar 2010
    Location
    UTC +1
    Posts
    193

    Default Re: disable net user on opensuse

    Make sure that Windows is powered down cleanly and properly before doing any manipulation from Linux, or you may corrupt the disk.

    Any type of (failed?) sleep (as in battery-run-down during sleep) or hibernation will leave the disk in an inconsistent state.

    Pay particular attention of you are using Windows 8.x: If you have Fast Start (aka Hybrid Sleep), that is actually Hibernation in action. That need to be disabled. I strongly recommend doing as I descibe here https://forums.opensuse.org/english/...efi-etc.html#4 (see "Preparing Windows 8 for dual-booting:", item 4). Other methods have proven not to be quite as complete when it comes to side-effects, but AFAIK the powering-down by itself is ok by using the "well known", alternative methods (which means, in this case, they would all suffice). However, if you are dual-booting, disabling Windows 8.x Fast Start is a must!

    When in Linux, (I use KDE) you will find the Windows disk by its Windows label inside the Dolphin File Manager, and I would expect a similar function is available from other GUIs as well. You need to eneter the Linux-root password to get access to the Windows disk.


    dayfinger

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: disable net user on opensuse

    On 2013-11-28 02:16, dayfinger wrote:
    >
    > Make sure that Windows is powered down cleanly and properly before doing
    > any manipulation from Linux, or you may corrupt the disk.


    Linux should refuse to mount the disk in that case.

    >
    > Any type of (failed?) sleep (as in battery-run-down during sleep) or
    > hibernation will leave the disk in an inconsistent state.
    >
    > Pay particular attention of you are using Windows 8.x: If you have Fast
    > Start (aka Hybrid Sleep), that is actually Hibernation in action. That
    > need to be disabled. I strongly recommend doing as I descibe here
    > http://tinyurl.com/nsxf6yn (see "*Preparing Windows 8 for
    > dual-booting:"*, item 4). Other methods have proven not to be
    > quite as complete when it comes to side-effects, but AFAIK the
    > powering-down by itself is ok by using the "well known", alternative
    > methods (which means, in this case, they would all suffice). However, if
    > you are dual-booting, disabling Windows 8.x Fast Start is a must!
    >
    > When in Linux, (I use KDE) you will find the Windows disk by its Windows
    > label inside the Dolphin File Manager, and I would expect a similar
    > function is available from other GUIs as well. You need to eneter the
    > Linux-root password to get access to the Windows disk.
    >
    >
    > dayfinger
    >
    >



    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: disable net user on opensuse

    On 2013-11-28 01:46, gamergoat89 wrote:
    >
    > Oh ok Live KDE.
    > Thank you
    >


    It is far easier than explaining if your are not used to it. :-)

    You have to find out where is the correct Windows partition, what's it
    device name, mount it manually, then cd to the directory...

    The final command is easy, rename in Linux is just a move to the same
    directory, 'mv'.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

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