- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can not login as root remotely and in the cons...
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
04-20-2009 02:20 AM
04-20-2009 02:20 AM
Re: Can not login as root remotely and in the console/server
create directories /root2 and /root3
edit /etc/passwd
manually add these lines:
root2::0:3::/root2:/sbin/sh
root3::0:3::/root3:/usr/bin/sh
then boot to run level 3 and see if you can logon with root equivalent users root2 and root3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 06:21 PM
04-20-2009 06:21 PM
Re: Can not login as root remotely and in the console/server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 06:37 PM
04-20-2009 06:37 PM
Re: Can not login as root remotely and in the console/server
To edit /etc/passwd file you can use command:
# /usr/sbin/vipw
Regds,
R.K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 07:19 PM
04-20-2009 07:19 PM
Re: Can not login as root remotely and in the console/server
vipw does not exist.. even the edit..
no way to edit passwd...
u have other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 07:22 PM
04-20-2009 07:22 PM
Re: Can not login as root remotely and in the console/server
fixed the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 07:32 PM
04-20-2009 07:32 PM
Re: Can not login as root remotely and in the console/server
# vgchange -a y vg00
# mount /tmp
# mount /usr
Now you should be able to edit the /etc/passwd file.
I am not sure it needs it though.
One thing you should do is run:
# pwck
This will check your /etc/passwd file for consistency and will report any errors with the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2009 07:44 PM
04-20-2009 07:44 PM
Re: Can not login as root remotely and in the console/server
using single user mode, mount -a
then edit the passwd file.
now it's working.
- « Previous
-
- 1
- 2
- Next »