- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- UNIX user login su:No shell (.profile & chmod prob...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:07 PM
10-25-2005 07:07 PM
UNIX user login su:No shell (.profile & chmod problem)
[os] HP
help me
root another login, No shell, memory fault error occurred
* /etc/passwd usr/bin/ksh, sh, csh directory confirm and authory '555'
.sh_history and precedence work
##################
# .sh_history #
###################
### 선행 작업 ###
# 기존 오라클 유저인 oracle을 사용하며, /oracle/app/oracle/product/9.2.0의 .profile에 명시된
# 홈디렉토리도 사용하려 함.
#
# 1) copy .profile root from /oracle/app/oracle/product/9.2.0
#
# 2) /oracle rm -r app del
# 3) /oracle/app/oracle/product/9.2.0 dirctory all recreate
#
# delete before, .profile in /oracle/app/oracle/product/9.2.0 -> /oracle로 mv
# ( .profile is not modified)
su - oracle
cd oracle/app/oracle/product/
ls
cd ../../..
chmod -R 777 .*
ls
# -> connect error!!
# ERROR: Check /etc/pam.conf file permissions and ownership
# -r--r--r-- 1 root sys /etc/pam.conf
# Boot in single-user mode for missing /etc/pam.conf
su -
su - oracle
su - oracle
cd ..
cd oracle
ls -al
cd ..
ls -al
cd oracle
ls
chmod 644 .*
ls -al
chmod 777 .profile
ls -al
su - oracle
vi /etc/group
clear
useradd -g dba -m -d /oracle/app/oracle/product/9.2.0 test920
useradd -g dba -m -d /oracle test920
user -g dba test920
useradd -g dba test920
passwd test920
clear
/etc/passwd
vi /etc/passwd
cd /etc
ls
ls -al
chmod
chmod 444 pam.conf
# root connect sucess, but oracle user connect fault
# su: No shell
# Memory fault
# new user create & connect
# su: No shell
# bus error
# connect error..
ls -al
ls
cd ..
useradd -g dba ora9
passwd ora9
su - ora9
vi /etc/passwd
su - ora9
#######################
why? fix??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:14 PM
10-25-2005 07:14 PM
Re: UNIX user login su:No shell (.profile & chmod problem)
Also what does following say??
pwck
grpck
logins -d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 08:19 PM
10-25-2005 08:19 PM
Re: UNIX user login su:No shell (.profile & chmod problem)
Hanwant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2005 12:10 PM
10-28-2005 12:10 PM
Re: UNIX user login su:No shell (.profile & chmod problem)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2005 07:18 PM
10-30-2005 07:18 PM
Re: UNIX user login su:No shell (.profile & chmod problem)
su:no shell normally indicates that therer is no entry in /etc/shells.(ksh/sh/csh??)
Regards
Conrad.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2005 08:36 PM
10-30-2005 08:36 PM
Re: UNIX user login su:No shell (.profile & chmod problem)
First clear ur question, what is the exact problem and error u get ?
Awadhesh