- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Multiple users w/UID 0
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
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
тАО03-07-2001 09:13 AM
тАО03-07-2001 09:13 AM
Multiple users w/UID 0
Doesn't seem to be a securetty check or any option I can find in SAM....
Any ideas?
btw, reason for this is we have 3 sa's. Is there a better way to have 3 root type users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 09:48 AM
тАО03-07-2001 09:48 AM
Re: Multiple users w/UID 0
just be very carefull, when you delete one of your add-on users.
Be sure NOT to delete all files belonging to user "ruth", because an "ls -l" check tells you that "ruth" has no files as they are owned by "root" (which is displayed as a first match of /etc/passwd).
You will end up installing a new system if you do, as this delete goes numeric, not alpha-based !
Good reasons to have second "roots" may be, if you like to use another shell. You should never change the "root" shell to other than /sbin/sh, because you might not get access to /usr/bin/ksh if your /usr filesystem is defective. This will lock you out.
Just my 2 cent
Volker
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 09:54 AM
тАО03-07-2001 09:54 AM
Re: Multiple users w/UID 0
Another 2cents,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 11:05 AM
тАО03-07-2001 11:05 AM
Re: Multiple users w/UID 0
be to setup sudo. sudo allows you
to give "normal" user accounts the
ability to run commands as root. You
can find more information about sudo
at:
http://www.courtesan.com/sudo/
As for why you can't log in as those
alternative root users I would look in
/var/adm/syslog/syslog.log to see if
you see any other errors being
generated on login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 11:41 AM
тАО03-07-2001 11:41 AM
Re: Multiple users w/UID 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 12:54 PM
тАО03-07-2001 12:54 PM
Re: Multiple users w/UID 0
My only problem is with my 10.20 version boxes and the unknown-id error whether i'm telneting to them or simply su-ing from another user...anybody have any help on why I can't, but can come in using CDE emulator (exceed)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 01:52 PM
тАО03-07-2001 01:52 PM
Re: Multiple users w/UID 0
I when implement many UID 0 accounts (max 4) is to deny direct login by using /etc/securetty, create almost ordinary accounts except for primary group which is bin, so these users can modify and access where others cant without doing an su - user-root-account, in each root account .profile I log who and from where(IP) he did the su, but each user owns its own passwd and I keep root passwd for myself (logged also Though I also use my pseudoroot...) so like that I check there is no one else but the allowed people doing the su to theyr accounts
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 04:38 PM
тАО03-07-2001 04:38 PM
Re: Multiple users w/UID 0
I can't answer your unknown id issue, I've never run into it with the arrangement I described (on both 10.20 and 11.0). My CDE menuing is setup to telnet or rlogin with the -l option so I login as the alternate root user. I also have some additional scripting going on so that my DISPLAY variable is automatically set after I'm in (another reason for a separate login).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2001 05:27 PM
тАО03-07-2001 05:27 PM
Re: Multiple users w/UID 0
- Users tend to forget they are root and make very bad mistakes.
- The first thing a hacker does is to promote an ordinary user to root..it's just a 1-number change and hard to find by hand but has a very bad effect on your system.
- If you use SAM to remove one of the users when they leave the company, SAM will dutifully remove all files owned by that user--which happens to be every HP-UX system file on the computer.
The list goes on but the reasons all have very bad real world experiences. The rule is: NEVER use the root login if there is any other way to accomplish a given task. By requiring every SA to login as themselves, and then su to root only when required (securetty to prevent direct root logins). When a user logs in as themselves every day, after a while they completely forget that they are really root.
For new sysadmins, they should only be allowed to use sudo for selected commands to protect the production systems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2001 10:29 AM
тАО03-13-2001 10:29 AM
Re: Multiple users w/UID 0
Our policy is that no one should log in directly as root - no way to tell who does what. Each time a user uses sudo to open an xterm as root there is an entry placed in syslog.log - thus we know who/when someone uses root.
Whenever a person leaves we simply disable their personal account and remove them from /etc/sudoers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2001 06:52 AM
тАО04-04-2001 06:52 AM
Re: Multiple users w/UID 0
but PLEASE check out the sudo reference.
I've used it for years and would not have a UNIX system without it.
just introduce it gradually and learn the gotchas like;
sudo command > file # file gets your ID
and
sudo command1 | command2 # so does command unles you do
sudo command1 | sudo command2
Jim