Results 1 to 4 of 4

Thread: Create an elevated user through command prompt

  1. #1
    Join Date
    Jan 2009
    Posts
    53

    Create an elevated user through command prompt

    Hi
    I can create a new user account through the Add user command.but in default it doesn't allow the administrative rights.I can't now access "users-admin" through an interface. i would like to get some thing how can i create a new user that will administrate the system.

    Thanks in advance for your any valuable help.!!

  2. #2
    Join Date
    Jan 2009
    Posts
    1,738

    Re: Create an elevated user through command prompt

    In order to do this run cmd.exe as an administrator.so that you can see “Administrator” will be pre-pended to the title bar of the window.This functionality is not enabled for all programs.This is designed for scenarios where you have multiple command windows open and you want to know which ones are elevated.Elevation should be rare and for a very short duration.but i recommendation is that you keep the elevated CMD on your desktop for as short a duration as possible so as to avoid any inadvertent changes to your computer without further UAC prompts.

  3. #3
    Dr. V Guest

    Re: Create an elevated user through command prompt

    By default, the prompt that the system presents you in a command prompt window shows the current drive letter and the full pathname. This prompt is configurable. For a list of configurable options, go to a command prompt and type.if you are an existing user use sudo usermod -a -G admin username in order to add this user in the admin group

  4. #4
    Join Date
    May 2008
    Posts
    2,680

    Re: Create an elevated user through command prompt

    In order to begin command prompt session with all Administrator privileges, you need to choose "Run as administrator" from those context menu.and if you are running as Administrator, the command prompt title will show as "Administrator: Command Prompt" instead of the regular window which must be easier to tell when multiple command prompt windows are running.for creating the new administrative account this code will do this purpose sudo usermod -a -G admin username,here -a flag is for append, and the -G is for a secondary group

Similar Threads

  1. Create an Administrator Command Prompt shortcut
    By TheGreatOne in forum Tips & Tweaks
    Replies: 1
    Last Post: 07-06-2011, 11:20 PM
  2. Replies: 2
    Last Post: 06-03-2011, 11:09 PM
  3. How to start an Elevated Command Prompt in Windows 7?
    By Gangeya in forum Operating Systems
    Replies: 7
    Last Post: 01-03-2011, 11:42 AM
  4. How to create a user webmin via command line in Linux
    By Elsie in forum Networking & Security
    Replies: 3
    Last Post: 25-04-2009, 06:26 PM
  5. Replies: 6
    Last Post: 09-11-2007, 05:54 AM

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
  •  
Page generated in 1,714,106,977.38464 seconds with 17 queries