Skip to ContentSkip to Footer
시작 내용
- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- User의 환경변수 설정
HP-UX
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
-
정보
- 커뮤니티
- Welcome
- 시작하기
- 포럼 FAQ
- 랭킹 개요
- 참여규칙
- Tips and Tricks
- 접촉
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- 다른 HPE 사이트
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
포럼
-
블로그
-
정보
-
한국어
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 친구에게 이메일 보내기
- 부적절한 컨텐트 신고
날짜: 04-21-2004 10:00 PM
날짜: 04-21-2004 10:00 PM
User의 환경변수 설정
환경
HP-UX 11.X,
L-class
유저의 환경변수 설정을 compile된 파일로 할려고 합니다.
.profile에 compile된 파일을 실행하도록 하여
유저가 모르도록 하고 싶습니다.
예를 들어 password가 설정된 부분이 shell script에
있으면 User가 보기 때문에 이를 적용하기 힘듭니다.
다음과 같이 test하였습니다.
#include
#include
void main(int argc, char *argv[])
{
putenv("USERPASS=/tmp/dir01");
system("export USERPASS");
system("echo $USERPASS");
}
를 compile하여 실행파일을 .profile에서 실행하도록 하였습니다.
그랬더니 유저가 login이 안되더군요 ㅜ_ㅜ...
이를 어쩌죠....
도와주세요
감사합니다. ^^;
HP-UX 11.X,
L-class
유저의 환경변수 설정을 compile된 파일로 할려고 합니다.
.profile에 compile된 파일을 실행하도록 하여
유저가 모르도록 하고 싶습니다.
예를 들어 password가 설정된 부분이 shell script에
있으면 User가 보기 때문에 이를 적용하기 힘듭니다.
다음과 같이 test하였습니다.
#include
#include
void main(int argc, char *argv[])
{
putenv("USERPASS=/tmp/dir01");
system("export USERPASS");
system("echo $USERPASS");
}
를 compile하여 실행파일을 .profile에서 실행하도록 하였습니다.
그랬더니 유저가 login이 안되더군요 ㅜ_ㅜ...
이를 어쩌죠....
도와주세요
감사합니다. ^^;
1 응답 1
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .