- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User with Admin Rights
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
11-22-2010 09:58 PM
11-22-2010 09:58 PM
Re: User with Admin Rights
Can you give the output of the commands I mentioned?
# who
# w
# id
# id admin
Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2010 10:12 PM
11-22-2010 10:12 PM
Re: User with Admin Rights
Check the below results.
It taken by login as admin.
# who
root pts/ta Nov 23 11:44
admin pts/tb Nov 23 11:45
# w
11:45am up 85 days, 1:35, 2 users, load average: 0.01, 0.00, 0.00
User tty login@ idle JCPU PCPU what
root pts/ta 11:44am -sh
admin pts/tb 11:45am -sh
# id
uid=0(root) gid=20(users)
# id admin
uid=0(root) gid=20(users)
#
Regards,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2010 11:52 PM
11-22-2010 11:52 PM
Re: User with Admin Rights
>I'm getting the error while trying to delete the user. "Login admin is currently in use".
You can use vipw(1m) and simply remove the user in question.
>It taken by login as admin.
Then you are done, admin has root access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 12:35 AM
11-23-2010 12:35 AM
Re: User with Admin Rights
how should i use the vipw(1m), whats for this command?
what to do after enter this command?
Regards,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 12:44 AM
11-23-2010 12:44 AM
Re: User with Admin Rights
vipw - edit the password file change
man vipw -> for more information
>>>what to do after enter this command?
in your earlier post you have asked
>tell me how to delete the user account admin.
>I'm getting the error while trying to delete the user. "Login admin is currently in use".
so if your using vipw -> you do the changes even though user is currently in use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 12:49 AM
11-23-2010 12:49 AM
Re: User with Admin Rights
What edition to be done.
check thebelow file.
admin:UAXJtsEWLA5uw:0:20::/home/admin:/sbin/sh
Regards,
Suriya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 01:05 AM
11-23-2010 01:05 AM
Re: User with Admin Rights
vipw
admin:UAXJtsEWLA5uw:0:20::/home/admin:/sbin/sh
Esc and dd -> to erase line by doing this you will able remove admin account
:wq!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 01:12 AM
11-23-2010 01:12 AM
Re: User with Admin Rights
To crete the user with admin account.
which groupid i have to give and which login profile i should give?
Thanks,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 01:17 AM
11-23-2010 01:17 AM
Re: User with Admin Rights
>>> To crete the user with admin account.
>>>>which groupid i have to give and which login profile i should give?
what is your purpose or Goal ..? for above
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 01:31 AM
11-23-2010 01:31 AM
Re: User with Admin Rights
The user can able to shutdown and reboot the server and able to start and stop the oracle packages and should able to install softwares.
Regards,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 01:49 AM
11-23-2010 01:49 AM
Re: User with Admin Rights
The user can able to shutdown and reboot the server and able to start and stop the oracle packages and should able to install softwares.<<<<<<<
It has been discussed on above thread,
you can achieve by SUDO, -> Best apporach
And Noticed that you have already created user account admin (with admin privileges)
>>>># id admin
uid=0(root) gid=20(users)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 02:03 AM
11-23-2010 02:03 AM
Re: User with Admin Rights
>>>># id admin
uid=0(root) gid=20(users)
I already created the user id admin (uid=0) but it does not have the admin privilages.
Regards,
Suriya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 02:15 AM
11-23-2010 02:15 AM
Re: User with Admin Rights
how did you found that it does not have admin privileges..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 02:18 AM
11-23-2010 02:18 AM
Re: User with Admin Rights
I told these all before itself.
Regards,
Suriya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 02:24 AM
11-23-2010 02:24 AM
Re: User with Admin Rights
Login to server using uid=0 admin account
can post output of the command.
# ioscan -fnkC lan
or
# sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 02:31 AM
11-23-2010 02:31 AM
Re: User with Admin Rights
Check this, its not found. i think only user with admin privilages can get the result.
# ioscan -fnkC lan
sh: ioscan: not found.
# sam
sh: sam: not found.
#
Regards,
Suriya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2010 11:37 AM
11-23-2010 11:37 AM
Re: User with Admin Rights
sh: ioscan: not found.
This just says you don't have your .profile set up correctly.
PATH=/usr/sbin:/usr/bin:$PATH
What does "echo ~" show?
- « Previous
-
- 1
- 2
- Next »