GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User add in admin group
Operating System - HP-UX
1855231
Members
5039
Online
104109
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
07-07-2008 09:23 PM
07-07-2008 09:23 PM
User add in admin group
how to add a user & how to add a normal user to admin gorup using command line in HP-UX Foundation Operating Environment.
Thanks;
Thanks;
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 10:45 PM
07-07-2008 10:45 PM
Re: User add in admin group
Hi anthink, the command to create a new user or update default new user information is "useradd".
For further information see http://linux.about.com/od/commands/l/blcmdl8_adduser.htm
To add a new user to secondary group
useradd -G {group-name} username
For further information see http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/
or
1) get the current groups of the user by groups command
2) usermod -G grp1,grp2,newgrp username
3) logout and login again.
For further information see http://www.unix.com/shell-programming-scripting/33867-command-add-users-group.html
Best regards.
Ernesto
For further information see http://linux.about.com/od/commands/l/blcmdl8_adduser.htm
To add a new user to secondary group
useradd -G {group-name} username
For further information see http://www.cyberciti.biz/faq/howto-linux-add-user-to-group/
or
1) get the current groups of the user by groups command
2) usermod -G grp1,grp2,newgrp username
3) logout and login again.
For further information see http://www.unix.com/shell-programming-scripting/33867-command-add-users-group.html
Best regards.
Ernesto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2008 11:10 PM
07-07-2008 11:10 PM
Re: User add in admin group
#man useradd
a warrior never quits
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP