- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- new user only can login with su
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
06-06-2005 08:46 PM
06-06-2005 08:46 PM
new user only can login with su
i already created new user, but this user can not login to my system.this user can login with "su" command from another user.
whats wrong with this user ?
regards,
piyut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 08:52 PM
06-06-2005 08:52 PM
Re: new user only can login with su
What is the entry in /etc/passwd fro newuser?
Is there anything in /etc/profile or /.profile in new user home directory?
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 09:09 PM
06-06-2005 09:09 PM
Re: new user only can login with su
I just tried to login with new user via telnet and success.but this new user can not login via
ssh protocol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 09:11 PM
06-06-2005 09:11 PM
Re: new user only can login with su
ssh -vvv newusername@hostname
what you are getting there.
what you are getting from /etc/passwd for newuser?
grep 'newusername' /etc/passwd
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2005 09:20 PM
06-06-2005 09:20 PM
Re: new user only can login with su
In /etc/opt/ssh/sshd_config we use the line
AllowGroups
to allow users on their primairy group.
make sure the primairy group of the newuser is in there...
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 09:29 AM
06-07-2005 09:29 AM
Re: new user only can login with su
ssh -l login_name system_name
to ssh use the correct user name?
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:44 PM
06-07-2005 02:44 PM
Re: new user only can login with su
many thanks for your reply.
I just already solved this problem by myself. but i don't know why it's happened. when i restart ssh daemon, new user can login to my system.:)
anyone know why ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2005 02:54 PM
06-07-2005 02:54 PM
Re: new user only can login with su
something nasty with my system. I just tried to create new user again with user id test. this user can't login via ssh.
# ssh test@localhost
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
f3:bf:7f:ea:bb:62:51:93:c3:1b:28:f5:af:f6:f8:ef.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending key in /.ssh/known_hosts:5
RSA host key for localhost has changed and you have requested strict checking.
Host key verification failed.
#