- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ROO User Privilege & Password
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
Discussions
Discussions
Forums
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
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
тАО02-27-2002 03:12 AM
тАО02-27-2002 03:12 AM
I have some queries to be resolved, so please ...
- Can we assign the root privilege to any ordinary unix user, so that he in turn can perform functionality at root level
(use crontab, or rcp etc)?
- How to get back the forgot root password ?(hopefully I'll not but in case, if it is possible)
Thanks & Regards
Syed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 03:27 AM
тАО02-27-2002 03:27 AM
Solutionhttp://www.courtesan.com/sudo/
As to passwords .... you normally have a couple of options :
Use a recovery tape to restore an old /etc/passwd file with a password you can remember
boot into single user mode and change password / edit the password file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 03:57 AM
тАО02-27-2002 03:57 AM
Re: ROO User Privilege & Password
Thanks lot,
things to clarify please ...
Well, sudo utility is the only way to achieve rool level privilage? I mean if root group is assigned to the user, can't he?
About root password:
When we'll boot the system in single user mode, will it not prompt for password to login into the system?
what should we edit in /etc/passwd file
it contains something like
root:xxxxxxxxx:/sbin/sh
Regards
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 04:13 AM
тАО02-27-2002 04:13 AM
Re: ROO User Privilege & Password
No, you can use su but each user would have to know the root password, and that is not desirable.
>> I mean if root group is assigned to the user, can't he?
No. The root group is one of several root groups and most commands require user ID 0 in order to run. Do not be tempted to change an ordinary user to ID 0...there are many dangers there.
>> About root password: When we'll boot the system in single user mode, will it not prompt for password to login into the system?
No. Unless you change the system to a Trusted System, single user mode is unprotected. That is why physical security is very important.
>> what should we edit in /etc/passwd file
it contains something like
root:xxxxxxxxx:/sbin/sh
For sudo, you must download the program from an archive such as the Liverpool archive. There is a man page about how to configure it.
Another alternative is to use SAM's restricted features. See the -r option in the SAM man page.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 04:22 AM
тАО02-27-2002 04:22 AM
Re: ROO User Privilege & Password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 08:11 PM
тАО02-27-2002 08:11 PM
Re: ROO User Privilege & Password
Thanks Lot,
Things are clear, except, changing of password file,
after starting the system in single user mode,
what should I edit in /etc/password file?
Please ...
Regards
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 08:20 PM
тАО02-27-2002 08:20 PM
Re: ROO User Privilege & Password
You can just use the 'passwd' program to do this in single user mode. All you need to do is to do this.
# passwd root (change the password)
Control-D should now start up multi-user mode. You could edit the password file directly, but there is no need.
If the multi-user doesn't start, use
# init 3 (or 4 depending on your first line in /etc/inittab)
e.g.
init:4:initdefault:
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 08:39 PM
тАО02-27-2002 08:39 PM
Re: ROO User Privilege & Password
To boot to single user mode, use hpux -is to boot to single user mode within the ISL prompt.
Hope this helps.
Kenny.