- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- User의 환경변수 설정
HP-UX
1753487
회원
4176
온라인
108794
솔루션
포럼
범주
Company
Local Language
뒤로
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
뒤로
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
블로그
정보
커뮤니티 언어
언어
포럼
블로그
- 신규로 표시
- 북마크
- 구독
- 소거
- 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가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP