- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Root user not able to login and ordinary users...
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-2002 08:35 PM
07-17-2002 08:35 PM
Root user not able to login and ordinary users are able to log on
in my HPUX, the Root users or users with root user id are not able to log on but other users are able to logon and work fine with the server.
only the super user has the problem..
can any one give suggessions what is the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 08:41 PM
07-17-2002 08:41 PM
Re: Root user not able to login and ordinary users are able to log on
genrally if it ahs to do woth paswwd exprired or cnanot change passwd then all u ahve to do is to boot the machine in single user mode and set the root passwd ok . This is a genral soluiotn to a genral problem if u post as to what happens then may be I can help u more
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 08:50 PM
07-17-2002 08:50 PM
Re: Root user not able to login and ordinary users are able to log on
Can you do 'su -' ??
Why would you have users other than root with a uid of 0 ??? This is a serious security problem... Why not set up 'sudo'
sudo can be found here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sudo-1.6.2b1/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 08:51 PM
07-17-2002 08:51 PM
Re: Root user not able to login and ordinary users are able to log on
If you want to turn this off, edit the /etc/securetty file ( become root, then:
vi /etc/securetty
). Remove the line/word that says "console". There is probably a knowledge database document that gives the instructions more clearly.
It's a good idea to prevent root from logging in directly, so you may not want to turn it off.
If this isn't it, my questions would be:
- what version of the OS ( run the "uname -a" command)
- is it a trusted system
- what is root's shell ( what does "grep root /etc/passwd" show)
- what is the exact error/symptom when root is "not able" to log in
--Misa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:03 PM
07-17-2002 09:03 PM
Re: Root user not able to login and ordinary users are able to log on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:09 PM
07-17-2002 09:09 PM
Re: Root user not able to login and ordinary users are able to log on
If you have your system as 'trusted' it could be that the account is locked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:09 PM
07-17-2002 09:09 PM
Re: Root user not able to login and ordinary users are able to log on
Ideas (no insult intended, just trying to be helpful):
- Someone else may have changed it
- Is your caps lock key on
- are you connecting to the right machine
- if you're on a modem, are your communications settings correct
Do you have any way of getting root access on the machine? If not, you may not be *able* to fix whatever's wrong, assuming it's on the host side. In that case, it may be "how do I recover my machine."
I don't know the netiquette of posting that type of info here, so I'll leave it for others to start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:15 PM
07-17-2002 09:15 PM
Re: Root user not able to login and ordinary users are able to log on
Account is disabled - see Account Administrator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:19 PM
07-17-2002 09:19 PM
Re: Root user not able to login and ordinary users are able to log on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:29 PM
07-17-2002 09:29 PM
Re: Root user not able to login and ordinary users are able to log on
Suggest you schedule a time for a system reboot into single-user mode and change the password that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:32 PM
07-17-2002 09:32 PM
Re: Root user not able to login and ordinary users are able to log on
Suggest you schedule a time for a system reboot into single-user mode and change the password that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 09:49 PM
07-17-2002 09:49 PM
Re: Root user not able to login and ordinary users are able to log on
So I'm assuming that yes, you have some method of getting to be root.
When you changed the password, did you:
passwd
or did you:
passwd root
(I'm assuming you're not using NIS/NIS+/YP; correct if wrong.)
I'm too tired to go into all the reasons, sorry, but maybe you changed the wrong password. It might be worth trying "passwd root" if you didn't already. And if you did, then check to see if you're running NIS. The procedure is different if yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2002 12:10 AM
07-20-2002 12:10 AM
Re: Root user not able to login and ordinary users are able to log on
history of your system, the passwords
you have chosen, or how many other accounts
are in question here.
1) If you have # or @ characters in your
password, funny things will happen because
these are sometimes interpreted as line
editing characters. Different programs
interpret them in different ways. (This
goes back to the days when system consoles
tended to be hardcopy devices. A few
remnants of that persist in the code.)
2) If you have converted to/from trusted
mode AND have passwords longer than 8
characters, behavior can be unexpected.
If this is the case, try using only the
first 8 characters of the password. This
is a side effect of some capacity limits in
how passwords are internally stored and the
inability to convert from one form to another
in all cases without losing some data. In
standard mode, any characters after 8 don't
actually get stored in your passwd entry
and get ignored on input, so it APPEARS
that you have a long password even though
any characters after the first 8 are silently
ignored. This is standard UNIX behavior,
but not widely known.
I have no way of knowing whether something
like a site policy requires superusers to
have long passwords, etc. That could be
one reason why it only happens to superusers.