- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: password disable under hp-ux B.11.31
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
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
05-21-2008 12:15 AM
05-21-2008 12:15 AM
-----------------------------------------
$ su
Account is disabled - see Account Administrator
su: Sorry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 12:26 AM
05-21-2008 12:26 AM
Re: password disable under hp-ux B.11.31
Now you try using su and it should work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 12:35 AM
05-21-2008 12:35 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 12:41 AM
05-21-2008 12:41 AM
Re: password disable under hp-ux B.11.31
When the root account is diabled, you can login to the system as root only from console.
As soon as you login into the system as root fromc onsole, it will be enabled automatically. If you have any other root sessions active at this time, you can execute the below command to enable it.
/usr/lbin/modprpw -k root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 01:03 AM
05-21-2008 01:03 AM
Re: password disable under hp-ux B.11.31
but the password still disable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 01:10 AM
05-21-2008 01:10 AM
Re: password disable under hp-ux B.11.31
/usr/lbin/modprpw -k root
Also give me the output of
/usr/lbin/getprpw root
After executing the first command you should be able to login as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:15 AM
05-21-2008 03:15 AM
Re: password disable under hp-ux B.11.31
Can you help me to resolve the problem now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:29 AM
05-21-2008 03:29 AM
Re: password disable under hp-ux B.11.31
passwd: files
group: files
.............
if not change the passwd line to
passwd: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:40 AM
05-21-2008 03:40 AM
Re: password disable under hp-ux B.11.31
# vi /etc/nsswitch.files
# @(#)B.11.31_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
ipnodes: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:46 AM
05-21-2008 03:46 AM
Re: password disable under hp-ux B.11.31
#cp /etc/nsswitch.files /etc/nsswitch.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:49 AM
05-21-2008 03:49 AM
Re: password disable under hp-ux B.11.31
# cp /etc/nsswitch.files /etc/nsswitch.conf
cp: cannot create /etc/nsswitch.conf: Permission denied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 03:58 AM
05-21-2008 03:58 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:00 AM
05-21-2008 04:00 AM
Re: password disable under hp-ux B.11.31
-r--r--r-- 1 bin bin 392 Jan 12 2007 nsswitch.files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:15 AM
05-21-2008 04:15 AM
Re: password disable under hp-ux B.11.31
1. create nsswitch.conf files and put the all entries hav in nsswitch.files.
2. copy the file entering the /etc folders
3. what is the permission in /etc folder.
4. you can revert back your shadow password. (;-)) using pwunconv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:34 AM
05-21-2008 04:34 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:40 AM
05-21-2008 04:40 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:48 AM
05-21-2008 04:48 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 04:54 AM
05-21-2008 04:54 AM
Re: password disable under hp-ux B.11.31
This means you need to go to single user mode to reset your password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 06:46 AM
05-21-2008 06:46 AM
Re: password disable under hp-ux B.11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 08:30 AM
05-21-2008 08:30 AM
Re: password disable under hp-ux B.11.31
As a "normal" user you can change nothing ... no account creation, no root password change.
(this would not make any sense)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2008 09:22 AM
05-21-2008 09:22 AM