- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Modify users PATH HPUX10.20
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
08-27-2001 08:24 AM
08-27-2001 08:24 AM
Modify users PATH HPUX10.20
Could anybody be so kind to tell me, how to modify the PATH for a special user ?
(eg. the user "lk" should have /usr/sbin in his PATH, other users of the same user-group NOT)
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:27 AM
08-27-2001 08:27 AM
Re: Modify users PATH HPUX10.20
edit the user's .profile and add/modify:
PATH=$PATH:/usr/sbin
export PATH
(other syntax for csh)
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:29 AM
08-27-2001 08:29 AM
Re: Modify users PATH HPUX10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:32 AM
08-27-2001 08:32 AM
Re: Modify users PATH HPUX10.20
In the $HOME/.profile of the user that you want to have /usr/sbin in the PATH, edit the PATH variable to include /usr/sbin.
The colon (:) character is the PATH delimiter and a period (.) terminates the PATH string.
The elements (fields) of the PATH are examined in the order that they appear.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:34 AM
08-27-2001 08:34 AM
Re: Modify users PATH HPUX10.20
For ksh or posix-sh you could modify the user's .profile and add
export PATH=$PATH:/usr/sbin
for csh, modify it and add
setenv PATH $PATH:/usr/sbin
If the user doesn't have a .profile you can copy a default one from /usr/newconfig/etc/skel
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:34 AM
08-27-2001 08:34 AM
Re: Modify users PATH HPUX10.20
#note the users home directory
cd /users/home/dir
vi .profile
#make the modification to the PATH entry
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2001 08:52 AM
08-27-2001 08:52 AM
Re: Modify users PATH HPUX10.20
You all answered very fast. Unfortunately I?m at home now. But tomorrow I`ll try to manage the problem.
Many thanks for all the hints.
Regards, Torsten
PS: I?m not familiar in "HPUXing", cause I started last week with it :)