- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: permision denied in login
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
07-17-2003 12:53 PM
07-17-2003 12:53 PM
nms1 # ssh -l operator bck1
operator@bck1's password:
Could not chdir to home directory /home/operator: Permission denied
/usr/bin/sh: Permission denied
Connection to bck1 closed.
in /home
drwxr-xr-x 2 operator users 96 Apr 30 12:56 operator
ls -ld /home
drwxr-xr-x 32 root sys 1024 Jul 17 15:00 /home
my passwd
CampanaJ:*:114:20:,,,:/home/CampanaJ:/usr/bin/sh
WHEN make to ssh disconnect .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 12:59 PM
07-17-2003 12:59 PM
Re: permision denied in login
You show the /etc/passwd but this is not
user operator it's CampanaJ
so it's could pbe problem or you write wrong
line?
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:02 PM
07-17-2003 01:02 PM
Re: permision denied in login
my passwd
operator:*:114:20:,,,:/home/operator:/usr/bin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:03 PM
07-17-2003 01:03 PM
Re: permision denied in login
Are the directory permissions shown above resident locally on your bck1 server, or do you mount the home directories via NFS ?
Also, on your bck1 server, what is the passwd entry for the operator user ?
Rgds,
Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:05 PM
07-17-2003 01:05 PM
Re: permision denied in login
If this is a trusted system could you post
/tcb/bin/edauth -g operator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:12 PM
07-17-2003 01:12 PM
Re: permision denied in login
the directory /tcb/bin/edauth no exist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:22 PM
07-17-2003 01:22 PM
Re: permision denied in login
#su - operator
su: No Shell
Memory Fault
Paul :
yes, the directory resident locally on my bck1 server.
Also, on your bck1 server, what is the passwd entry for the operator user ?
the entry is:
operator:*:114:20:,,,:/home/operator:/usr/bin/sh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 01:28 PM
07-17-2003 01:28 PM
Re: permision denied in login
On bck1, what are the permissions of the shell - on my server, the permissions are as follows:-
$ ll /usr/bin/sh
-r-xr-xr-x 2 bin bin 196608 Nov 7 1997 /usr/bin/sh
Rgds,
Paul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 11:47 PM
07-17-2003 11:47 PM
Re: permision denied in login
the error "No shell" it's very interesting.
What is the content of
/etc/shells
and what are its permissions ?
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 04:39 AM
07-18-2003 04:39 AM
Re: permision denied in login
the permision in /usr/bin/sh:
-r-xr-xr-x 2 bin bin 221184 Jan 20 2000 /usr/bin/sh
Hi,Massimo
the file /etc/shells no exist:
bck1 # ll /etc/shells
/etc/shells not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 04:46 AM
07-18-2003 04:46 AM
Re: permision denied in login
example
bck1#su - Peter
su: No Shell
Memory Fault
nms1#ssh -l Peter bck1
Peter@bck1's password:
Last login: Thu Jul 17 17:38:42 2003 from Peter.noctic.tunner.com
===============================================
Welcome the system Tunner Racing
===============================================Could not chdir to home directory /home/Peter: Permission denied
/usr/bin/sh: Permission denied
Connection to bck1 closed.
nms1 #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 04:57 AM
07-18-2003 04:57 AM
Re: permision denied in login
have a look at the man page for /etc/shells
"man shells"
create the file, permission 444, and there the full pathname of ksh, csh, sh .
SYNOPSIS
/etc/shells
DESCRIPTION
/etc/shells is an ASCII file containing a list of legal shells on the
system. Each shell is listed in the file by its absolute path name.
Lines or portions of lines beginning with # are assumed to be comments
and are ignored. Blank lines are also ignored.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 05:10 AM
07-18-2003 05:10 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2003 06:28 AM
07-18-2003 06:28 AM
Re: permision denied in login
in the Link it was the solution
Thanks to all, the problem was permission in /
chmod 755 /