- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need a script
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
03-01-2010 11:13 PM
03-01-2010 11:13 PM
Need a script
Need to set the path variable in .profile of all users in the system there are around 80 users so doing it manually is difficult.
can i get a script to do that.
Regards,
Pharthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2010 11:20 PM
03-01-2010 11:20 PM
Re: Need a script
Why do not set the variable in /etc/profile and this would be viable for all your local users?
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2010 11:27 PM
03-01-2010 11:27 PM
Re: Need a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2010 11:32 PM
03-01-2010 11:32 PM
Re: Need a script
regards,
Pharthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 12:30 AM
03-02-2010 12:30 AM
Re: Need a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 12:45 AM
03-02-2010 12:45 AM
Re: Need a script
Sure. They will have to re-login. Or source /etc/profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 12:47 AM
03-02-2010 12:47 AM
Re: Need a script
Oops, I read this as:
will that work without a reboot.
Sure. But they will have to re-login. Or source /etc/profile.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 12:49 AM
03-02-2010 12:49 AM
Re: Need a script
any alternate solution without reboting the server
regards,
Pharthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 12:53 AM
03-02-2010 12:53 AM
Re: Need a script
As Dennis said
Reboot of the server is not reqd.
Only the users have to log out & login again to take the changes made in /etc/profile.
Note:even if you edit the .profile file users have to log out & login.
Rgds.,
Sachin kumbla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 01:00 AM
03-02-2010 01:00 AM
Re: Need a script
Regards,
Pharthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 01:08 AM
03-02-2010 01:08 AM
Re: Need a script
Not really. If they source the appropriate files, they don't need to re-login. It may be much easier to explain re-logging in than sourcing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2010 01:10 AM
03-02-2010 01:10 AM
Re: Need a script
What did you change? /etc/profile?
A user's profile can completely ignore any settings in /etc/profile, you may have to change both.