- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot change root pasword
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
09-25-2002 10:59 PM
09-25-2002 10:59 PM
Cannot change root pasword
I'm not able to change my root password.
WARNING: YOU ARE SUPERUSER !!
root@INS1 >
root@INS1 >passwd
ulimit: Not owner
root@INS1 >
I'm running HP 11.00 and NIS is not installed.
Please advice what's the reason and solution.
Thanks
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:12 PM
09-25-2002 11:12 PM
Re: Cannot change root pasword
1. /usr/bin/passwd root
2. ulimit unlimited (then 1.)
3. try loggin in as root on the console then run /usr/bin/passwd
Sounds like either a patch issue or someone has been mucking around with ulimits in your .profile or /etc/profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:14 PM
09-25-2002 11:14 PM
Re: Cannot change root pasword
Please check /etc/passwd file for root shell.
It should be '/sbin/sh' .
please post the output of ulimit -a
Thanks
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:17 PM
09-25-2002 11:17 PM
Re: Cannot change root pasword
Thanks for ur reply.
It says ulimit: NOT owner,
Here is the output of ulimit -a
AETHOS:ACT(INS1):~ 54> ulimit unlimited
AETHOS:ACT(INS1):~ 55> passwd
ulimit: Not owner
AETHOS:ACT(INS1):~ 56> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 65536
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:23 PM
09-25-2002 11:23 PM
Re: Cannot change root pasword
tusc passwd > tuscfile
you have to have a line in this tuscfile:
...
ulimit(UL_SETFSIZE, 2147483647) ............................................................................. = 4194303
...
In "man ulimit" you can read:
__________________________
....
ulimit() fails and the limit is unchanged if a process with an effective user ID other than super-user attempts to increase its file size limit.
....
__________________________
Maybe it's a problem with your uid. Are you login as root, su to root, do you have more than one user with UID 0 ?
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:28 PM
09-25-2002 11:28 PM
Re: Cannot change root pasword
/bin/passwd
/bin/login
/bin/su
All of them should be -r-sr-xr-x owned by root:bin. Especially the prmission, if they are not set correctly change them .. for example ..
# cd /bin
# chmod 4555 passwd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 11:37 PM
09-25-2002 11:37 PM
Re: Cannot change root pasword
-r-sr-xr-x 5 bin bin 49152 Apr 9 1998 passwd
to
-r-sr-xr-x 5 root bin 49152 Apr 9 1998 passwd
But the error was misleading. Why ????
Regards
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 02:08 AM
09-26-2002 02:08 AM
Re: Cannot change root pasword
Only root can set ulimit and if passwd binary has ownership bin the ulimit is not allowed.
I've tested it and on my system it's the same behaviour.
On trusted system for example the error message is:
# passwd
audswitch: Not owner
#
Christian