HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- directory control with EUID
Operating System - HP-UX
1832757
Members
2894
Online
110045
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
Forums
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
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
01-03-2002 07:33 AM
01-03-2002 07:33 AM
hi,
i'm writing a shell script for a new user for
software-rolling which used to be the job of another user...this new user's login program is the script which displays a menu...the,
problem is that the new user must su to the
other user before the menu displays...in the
menu, there is a choice to take a shell, but,
i actually want that user just to deal with
a few directories...however, because it switches to other user, it can change to any
directory..is there a way to allow the user
to just a few directories by lookin at its
UID rather than EUID?
thx...
i'm writing a shell script for a new user for
software-rolling which used to be the job of another user...this new user's login program is the script which displays a menu...the,
problem is that the new user must su to the
other user before the menu displays...in the
menu, there is a choice to take a shell, but,
i actually want that user just to deal with
a few directories...however, because it switches to other user, it can change to any
directory..is there a way to allow the user
to just a few directories by lookin at its
UID rather than EUID?
thx...
it's all a game
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 07:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 07:58 AM
01-03-2002 07:58 AM
Re: directory control with EUID
thx Jeff,
but how can i use this for my purpose?
let me explain in more detail:
1) i login as newuser
2) this new user (su)s to other user(by the
profile,not by the user itself) and performes
the jobs in the menu...
3) the user needs a shell (say to check something)
(only 2 directories actuall needed for that user)
4) the user UID is (say newuser) but he has
now EUID when he is in the shell, because of
(su)ing when the login profile executes, which
causes the user to freely travel between all
directories...
5) i wonder if i could limit the directories
to travel someway...
but how can i use this for my purpose?
let me explain in more detail:
1) i login as newuser
2) this new user (su)s to other user(by the
profile,not by the user itself) and performes
the jobs in the menu...
3) the user needs a shell (say to check something)
(only 2 directories actuall needed for that user)
4) the user UID is (say newuser) but he has
now EUID when he is in the shell, because of
(su)ing when the login profile executes, which
causes the user to freely travel between all
directories...
5) i wonder if i could limit the directories
to travel someway...
it's all a game
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2002 08:05 AM
01-03-2002 08:05 AM
Re: directory control with EUID
When you give the user a shell, you could give them an rsh so they can't cd. You would have create a link from the two directories to the home dircetory. They can view the contents of file, do an ls on the link to see whats in the dircetory, etc...
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP