- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: creating users using VIPW.
Operating System - HP-UX
1753848
Members
8281
Online
108807
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
03-10-2009 01:26 AM
03-10-2009 01:26 AM
Re: creating users using VIPW.
Suraj :
You will need to edit the /etc/group file as well and cater for the new user in whatever group you wish them to belong to.
Why edit the password file manually when there is a perfectly good HP-UX command "useradd" that will do it for you ?
Mark
You will need to edit the /etc/group file as well and cater for the new user in whatever group you wish them to belong to.
Why edit the password file manually when there is a perfectly good HP-UX command "useradd" that will do it for you ?
Mark
Administrating HP-UX systems for more years than I care to admit, but still enjoying it (most of the time!).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2009 01:36 AM
03-10-2009 01:36 AM
Re: creating users using VIPW.
hmmm... many comments on the mechanics of *how* to do something without bany advice on whether it makes sense to do that!
Just cos a task *can* be done in a certain way, doesn't mean it makes sense to do that. I'm pretty sure I could make money by threatening folks in the street with a knife, but I think I'll stick to having a job for that (ok weak metaphor, but hopefully you get my point).
Whilst vipw is a fine and dandy tool for *editing* the password file for quick fixes such as changing a users shell or home directory, I really wouldn't reccomend it for adding new users - its too open to user error. Stick to using the useradd command. Not only will it check more of what you pass to it, but you can accomplish what you want in fewer steps. It can be as simple as:
useradd senthil
passwd senthil
Of course that gets all the defaults, but they can all be changed on the useradd command line if you wish. Look at the man page for more details.
HTH
Duncan
I am an HPE Employee
Just cos a task *can* be done in a certain way, doesn't mean it makes sense to do that. I'm pretty sure I could make money by threatening folks in the street with a knife, but I think I'll stick to having a job for that (ok weak metaphor, but hopefully you get my point).
Whilst vipw is a fine and dandy tool for *editing* the password file for quick fixes such as changing a users shell or home directory, I really wouldn't reccomend it for adding new users - its too open to user error. Stick to using the useradd command. Not only will it check more of what you pass to it, but you can accomplish what you want in fewer steps. It can be as simple as:
useradd senthil
passwd senthil
Of course that gets all the defaults, but they can all be changed on the useradd command line if you wish. Look at the man page for more details.
HTH
Duncan
I am an HPE Employee
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP