- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: GECOS field updation in /etc/passwd problem
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
тАО10-22-2010 03:40 AM
тАО10-22-2010 03:40 AM
GECOS field updation in /etc/passwd problem
Can anybody help me to resolve this issue. While i am trying to update the gcos field of some apps user it is showing below msg.
#usermod -c "wyz" batch
Login batch is currently in use
any clue???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 04:16 AM
тАО10-22-2010 04:16 AM
Re: GECOS field updation in /etc/passwd problem
You can perform the 'usermod' as long as the user (account) is actively logged-in.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 04:33 AM
тАО10-22-2010 04:33 AM
Re: GECOS field updation in /etc/passwd problem
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 04:44 AM
тАО10-22-2010 04:44 AM
Re: GECOS field updation in /etc/passwd problem
Thanks, Pete!
Yes, indeed, I meant to write:
You CANNOT perform the 'usermod' as long as the user (account) is actively logged-in.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 06:33 AM
тАО10-22-2010 06:33 AM
Re: GECOS field updation in /etc/passwd problem
When user is logged in, U cannot modify the field or parameters of the users, like, group,shell and so on....
You must logout from the user to make changes.
Hope this solves ur issue
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 10:09 AM
тАО10-22-2010 10:09 AM
Re: GECOS field updation in /etc/passwd problem
You just need to use "-F" option or a different command, chfn(1).