Windows 사용자 계정 변경

OS/Windows 2013. 1. 22. 12:53 Posted by 이준희
  1. Control userpassword2 를 이용한 변경

     

    1. 실행 -> control userpassword2 입력

    2. 위와 같이 현재 등록되있는 사용자 계정이 나오면 변경 할 사용자 Click! 후 속성을 눌러준다.

       

      1. 사용자 이름 : 로그인 할 때 사용되는 실질적인 계정 아이디.
      2. 전체 이름 : 윈도우 안에서만 적용되는 일종의 별명.
    3. 계정을 변경하기 위해서는 전체 이름이 아닌 사용자 이름을 변경 해 주어야 한다.

     

    그룹 등록 TAB을 들어가보면 현재 선택된 계정의 그룹을 변경해 줄 수 있다.

    1. 사용자 이름 변경 및 그룹 설정까지 완료 하면 확인을 눌러 아래와 같이 변경된 설정을 적용해 주면 된다.

  2. Compmgmt.msc 를 이용한 변경

     

    1. 실행 -> compmgmt.msc 입력

       

    2. 로컬 사용자 및 그룹 에서 사용자를 Click! 하면 아래와 같은 화면이 나온다.

    3. 이곳에서 변경 할 사용자를 선택 후 간단하게 이름 바꾸기(혹은 F2키) 만으로도 변경이 가능하다.

       

  3. 주의 할점!
    1. 사용자 변경 방법 중 제어판을 이용한 방법이 있는데 결론 만 말하자면 이는 사용자 이름 변경이 아닌 전체 이름.

      즉 윈도우 안에서의 별명만 변경이 되는 것 이다.

       

      위 화면 은 제어판에서 사용자 계정 관리를 통한 변경 방법이다.

    2. 위 와 같이 계정 이름 바꾸기를 통해 test라는 이름으로 변경을 하게 되면….

       

    3. 사용자 이름이 아닌 전체 이름에 추가 되 있는 것을 볼 수 있다.

      제어판을 이용한 계정 이름 변경은 윈도우 안에서 사용되는 일종의 별명 개념 일뿐 실질적인 사용자 계정은 변하지 않는다.

'OS > Windows' 카테고리의 다른 글

Windows Server에서 시간 서버 구성하는 방법  (0) 2013.02.05
방화벽해제 하는 법  (0) 2013.01.30
windows network error 값 확인  (0) 2013.01.15
IIS Trace off 방법  (0) 2013.01.10
IIS http 405 error 원인 및 조치  (0) 2013.01.10

rsync를 이용한 미러링

2013. 1. 16. 18:10

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

IIS Trace off 방법

OS/Windows 2013. 1. 10. 10:50 Posted by 이정식

Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters

Data Type: REG_DWORD

Default Value: 0 (disabled)


'OS > Windows' 카테고리의 다른 글

Windows 사용자 계정 변경  (1) 2013.01.22
windows network error 값 확인  (0) 2013.01.15
IIS http 405 error 원인 및 조치  (0) 2013.01.10
Windows SNMP설정  (0) 2013.01.09
윈도우 시스템의 성능 모니터링  (0) 2013.01.04

IIS http 405 error 원인 및 조치

OS/Windows 2013. 1. 10. 10:48 Posted by 이정식

페이스북 연동하는데 아래와 같이 HTTP 405 에러가 발생했었어요…

원인은 IIS script map settings 에 get이나 post 방식으로 조회 가능한 확장자로 맵핑 시켜주지 않아서 그런 거 같아요

보안상 IIS6 에서는 기본적으로 스크립트 실행이 안되게 해놨다는군요.

 

개발자가 확장자를 .htm 으로 페이지 생성을 해놨었는데, 맘대로 IIS 서비스를 재시작 할수 없는 상황이라

개발자가 .asp 로 확장자를 변경해서 해결되었습니다.

 

아래는 에러 내용과 해결 방법 참고 하세요..

 

==========================================================================================================

이 페이지를 표시할 수 없습니다.

액세스를 시도하는 데 잘못된 메서드(HTTP 동사)를 사용했기 때문에 찾으려는 페이지를 표시할 수 없습니다.

다음을 시도하십시오.

  • 이 요청이 허용되어야 하면 웹 사이트 관리자에게 문의하십시오.
  • 브라우저의 주소 표시줄에 표시된 웹 사이트 주소의 철자와 형식이 정확한지 확인하십시오.

HTTP 오류 405 - 이 페이지에 액세스하는 데 사용한 HTTP 동사가 거부되었습니다.
IIS(인터넷 정보 서비스)

=============================================================================================

해결 방법은 아래와 같아요.

 

 

How to Resolve an HTTP 405 Resource not allowed Error in IIS

 

Symptoms

When attempting to POST to a web page in Internet Information Services (IIS) 5.1 under Windows 2000 (Win2k) or Windows XP, you may receive the following error:

The page cannot be displayed 

The page you are looking for cannot be displayed because the page address is incorrect.  

 

--------------------------------------------------------------------------------

 

Please try the following:

 

If you typed the page address in the Address bar, check that it is entered correctly.

 

Open the 127.0.0.1 home page and then look for links to the information you want. 

HTTP 405 - Resource not allowed

Internet Information Services

 

--------------------------------------------------------------------------------

 

Technical Information (for support personnel)

 

More information:

Microsoft Support  

The code in the sample page that was posted might have been:

<!-- test.html EXAMPLE -->

<html>

<head><title>Test Post</title>

</head>

<body>

 

<form method="post" action="test.html">

<input type="submit">

</form>

 

</body></html>

Cause

The file type is not registered in the IIS script map settings (e.g. .html or .htm). IIS 5.1 only allows HTTP requests of type to GET to unmapped files. HTTP requests of type POST, HEAD, and all others are responded to with a 405 resource not allowed error.

As a security note, you should always remove unused script mappings. This is the default behavior of IIS 6, which will only serve named extensions and refuse all others.

Resolution

Add a script map for the extension. A script map associates a particular file type with a given script module. The web server runs the module on the given file and sends the output to the browser, instead of sending the file directly to the browser.

  • Go to "Control Panel"-"Administrative Tools"-"Internet Information Services".
    • Expand the tree to "COMPUTERNAME"-"Web Sites"-"Default Web Site".
    • Right-click on "Default Web Site" and select "Properties". (Alternately, select "Default Web Site" and press Alt+Enter.)
    • Select the "Home Directory" tab.
    • Click the "Configuration" button.
    • From the "Mappings" tab, select the "Add" button.
    • Click the "Browse..." button, choose "Dynamic Link Libraries *.dll" from the "Files of Type" dropdown, and select c:\WINDOWS\System32\inetsrv\asp.dll.
    • Type ".html" (without quotes) in the "Extension" box.
    • Select the "Limit to:" radio button, and type in "GET, POST" (without quotes) in the box next to it.
    • Click the "OK" button and close all the dialogs. (If the "OK" button is greyed out, then make sure all the entries are correct and try clicking in the file name box.)

    See the screen shot below. You must adjust the above instructions to your particular OS, web site configuration, and file type. You can associate the file type with a different script engine besides asp.dll, which is the ASP 3.0 script engine. There is no need to give IWAM_COMPUTERNAME permission to the file, only IUSR_COMPUTERNAME needs NTFS read and execute permission.

    Screen Shot

    More Information

    Applies to

    Internet Information Services (IIS) 5.1
    Windows XP
    Windows 2000

    Links

    Microsoft Knowledge Base Article - 238461 - Error Message: 405 Method Not Allowed when using FrontPage 2000 Server Extensions from Microsoft or Microsoft Office 2000 Server Extensions Troubleshooting Common IIS Errors Microsoft Search Results for "HTTP 405 - Resource not allowed"

'OS > Windows' 카테고리의 다른 글

windows network error 값 확인  (0) 2013.01.15
IIS Trace off 방법  (0) 2013.01.10
Windows SNMP설정  (0) 2013.01.09
윈도우 시스템의 성능 모니터링  (0) 2013.01.04
NTP Server 및 Client 설정(2014-03-21수정)  (0) 2013.01.01

패스워드 만료 일자 간단 변경

OS/Linux 2013. 1. 10. 10:28 Posted by 이정식

[root@mail ~]# chage -d 2011-05-25 jsclub


[root@mail ~]# chage -l jsclub

마지막으로 열쇠글을 바꾼 날 : 5월 25, 2011

열쇠글 만료 :안함

열쇠글이 비활성화 기간 :안함

계정 만료 : 3월 15, 2012

열쇠글을 바꿀 수 있는 최소 날 수 : 0

열쇠글을 바꿔야 하는 최대 날 수 : 99999

열쇠글 만료 예고를 하는 날 수 : 7

/etc/shadow

jsclub:$1$I2d5T0RE$3OC6qqnfrZgUo1U/ni.gE1:15119:0:99999:7::15414:

'OS > Linux' 카테고리의 다른 글

RHEL 6에서 Network Card bonding  (0) 2013.01.16
리눅스 하드웨어 정보 확인 방법  (0) 2013.01.10
SUDO 제한 방법  (0) 2013.01.10
Python 설치(easy install)  (0) 2013.01.10
Core 파일 생성 방법  (0) 2013.01.10

SUDO 제한 방법

OS/Linux 2013. 1. 10. 10:20 Posted by 이정식

#visudo 실행 ; #vi /etc/sudoers 와 같음.

 

root ALL = (ALL) ALL

gmate ALL = (ALL) ALL        ; 추가 삽입

 

# wheel 그룹에 sudo를 설정하는 방법

%wheel ALL=(ALL) ALL        ; 기본 주석되어 있으니 플어주면 된다.

 

gmate 계정을 wheel 그룹에 추가한다.

# usermod -G wheel gmate

 

만약 패스워드 물어보는 것을 하지 않으려면 아래와 같이 추가한다. 하지만 사용하지 말자..보안상..

%wheel ALL=(ALL) NOPASSWD: ALL

'OS > Linux' 카테고리의 다른 글

리눅스 하드웨어 정보 확인 방법  (0) 2013.01.10
패스워드 만료 일자 간단 변경  (0) 2013.01.10
Python 설치(easy install)  (0) 2013.01.10
Core 파일 생성 방법  (0) 2013.01.10
커널 파라미터 설정 정보  (0) 2013.01.10

Python 설치(easy install)

OS/Linux 2013. 1. 10. 09:54 Posted by 이정식

python module을 설치한다는 것은 특정 디렉토리에 파일을 풀고 PATH를 잡아주면 되는 것이다.

이 과정을 자동화한 것이 easy-install이다.

받은 소스 안에 setup.py라는 파일이 있다면 다음의 명령으로 egg 파일을 만들 수 있다.

# python setup.py bdist_egg

egg 파일은 설치되는 파일을 zip으로 묶고 확장자를 egg로 변경한 것으로 이해하면 된다. 설치에 사용되는
패키지 정보를 담고 있는 그들만의 파일을 담고 있기도 한다.

설치할 때에는 easy-install somename.egg와 같이 실행하면 패키지들이 모여있는 site-packages안에 옮기거나
풀어주고 디렉토리 경로를 저정하고 있는 easy-install.pth에 새로운 경로를 추가해 준다.

압축이 된 상태로 사용할 수도 있고 압축을 풀어서(—always-unzip 옵션) 사용할 수도 있다.

zip으로 된 파일을 egg로 변경하고 easy-install을 수행하면 설치되는 것으로 보일 경우가 있다. 그렇지만 제대로
설치되지 않아서 동작을 하지 않을 것이다. egg 파일의 내용에는 EGG-INFO 디렉토리가 있으며 setup.py 파일은
보이지 않는 것이 일반적이다.

'OS > Linux' 카테고리의 다른 글

패스워드 만료 일자 간단 변경  (0) 2013.01.10
SUDO 제한 방법  (0) 2013.01.10
Core 파일 생성 방법  (0) 2013.01.10
커널 파라미터 설정 정보  (0) 2013.01.10
커널 패닉 시 자동 리부팅 설정  (0) 2013.01.10