>> Delete Reply from No. 38582 article
No. RE: 저도 똑같은 경험 있습니다. -_-a

등록 2002-01-03 10:36:00 By localhost     조회 3
이름 성찬    

		싱글모드로도 부팅이 안되기 때문에 이 경우에는.. 다음의 방법을 이용해 보세요.
 설치 씨디를 일단 준비합니다.
 설치 씨디를 넣고 솔라리스를 설치에 들어갑니다.
실제 설치하는건 아니고 설치하기 직전에 엑스윈도에서 한쪽 빈구석에 마우스 오른쪽버튼
을 누르면 메뉴가 나옵니다. 여기서 콘솔창을 엽니다.
콘솔창에서.. 디바이스 명으로.. 솔라리스가 설치된 하드디스크에 접근합니다.
/etc/passwd 파일 열어서 수정하고 저장.
 그리고 리부팅 하세요.
 리눅스에서도 가끔 이렇게 할때가 있습니다.
 리눅스 씨디 넣고 아나콘다 화면 나올때인가.. ctrl+alt+F2 눌러서 엑스 빠져 나와서는 하드
디스크 마운트해서.. 잘못된 파일 수정후 재부팅..      :
:  아래 질문드렸던 su에 관해서... 다시 심각한 문제에 봉착했습니다. T.T
: 리눅스 서버에서는 su가 -s 옵션이나 --shell이 있어서 될줄 알았는데..
: 정작 문제의 Soloaris서버에서 실행해보니 -s옵션이나 --shell이 아예 없습니다.. T.T
: 아래는 문제의 su의 man페이지입니다..
:
: Maintenance Commands                                       su(1M)
:
: NAME
:      su - become super user or another user
:
: SYNOPSIS
:      su [ - ] [ username [ arg ... ] ]
:
: DESCRIPTION
:      su allows one to become another user  without  logging  off.
:      The default user name is root (super user).
:
:      To use su, the appropriate password must be supplied (unless
:      the  invoker  is already root).  If the password is correct,
:      su creates a new shell process that has the real and  effec-
:      tive user ID, group IDs, and supplementary group list set to
:      those of the specified username.  The new shell will be  the
:      shell  specified  in  the shell field of username's password
:      file entry (see  passwd(4)).   If  no  shell  is  specified,
:      /usr/bin/sh  is  used (see sh(1)).  To return to normal user
:      ID privileges, type an EOF character (CTRL-D)  to  exit  the
:      new shell.
:
:      Any additional arguments  given  on  the  command  line  are
:      passed to the new shell.  When using programs such as sh, an
:      arg of the form -c string executes string  using  the  shell
:      and an arg of -r gives the user a restricted shell.
:
:      The following statements are true only if either /usr/bin/sh
:      or  NULL  is  named  in  the  specified user's password file
:      entry.  If the first argument to su is a ' - '  (dash),  the
:      environment  is passed along unchanged, as if the user actu-
:      ally logged  in  as  the  specified  user.   Otherwise,  the
:      environment  is  passed  along, with the exception of $PATH,
:      which is controlled by PATH and SUPATH in etc/default/su.
:
:      All attempts to become another user using su are  logged  in
:      the log file /var/adm/sulog (see sulog(4)).
:
: 제가 배운 영어가 틀리지 않다면.. 여기서 su는 무조건 passwd파일을 참조해서
: 쉘을 실행시키는 것 같습니다.. T.T
: 그러니 아무리 su -s /bin/csh이나 su - --shell=/bin/csh을 줘도 소용이
: 없습니다..
: 아.. 어찌해야하나요..--드뎌.. 서른!!
서른살의 TTL
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved