- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Login name
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
тАО09-11-2006 02:45 AM
тАО09-11-2006 02:45 AM
Login name
can you please tell me how to modify user name only
Eg, login name is Roy but it should be roy
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:50 AM
тАО09-11-2006 02:50 AM
Re: Login name
# cp /etc/passwd /etc/passwd.11092006
# vi /etc/passwd
change Roy to roy
:wq!
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:54 AM
тАО09-11-2006 02:54 AM
Re: Login name
# usermod -l roy Roy
# man usermod
for details.
Note that usermod cannot be used if the user is currently logged in to the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:55 AM
тАО09-11-2006 02:55 AM
Re: Login name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:57 AM
тАО09-11-2006 02:57 AM
Re: Login name
usermod -l roy Roy
If you edit it manually and it's a Trusted system, you may also need to manually move the /tcb/files/auth/R/Roy file to /tcb/files/auth/r/roy and edit Roy to roy inside it. Never tried this... a lot cleaner to use the commands designed to perform the functions than hack on things with questionable results. ;)
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 02:58 AM
тАО09-11-2006 02:58 AM
Re: Login name
is the command to change the username.
this can also be doing with 'vi' ing the /etc/passwd and changing the username from 'Roy' to 'roy'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:03 AM
тАО09-11-2006 03:03 AM
Re: Login name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:04 AM
тАО09-11-2006 03:04 AM
Re: Login name
you can use the "usermod -l (username) command. Or you can "vi the /etc/passwd file but make sure you make a copy before. You can also use "SAM".
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:04 AM
тАО09-11-2006 03:04 AM
Re: Login name
i got more info from you
thank you very much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 03:04 AM
тАО09-11-2006 03:04 AM
Re: Login name
'vipw' is the preferred method for editing '/etc/passwd'.
PCS