![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| tar the symbolic link | ganga.dharan | Shell Programming and Scripting | 1 | 05-23-2008 07:11 AM |
| need some info about symbolic link and hard link | detective linux | UNIX for Dummies Questions & Answers | 2 | 01-08-2008 07:36 AM |
| Symbolic Link Confusion | Sepia | UNIX for Dummies Questions & Answers | 5 | 05-07-2007 05:40 PM |
| symbolic Link | bhargav | UNIX for Dummies Questions & Answers | 1 | 10-15-2004 09:41 AM |
| get symbolic link file | andrec | UNIX for Dummies Questions & Answers | 11 | 11-13-2001 03:41 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
A few more details, please. After reading your posting, I am left with the impression that you're more interested in aliases (defining pseudonyms for commands) and not in creating alternate paths for files.
|
|
||||
|
I see several possibilities here so let me take them one at a time.
1 ) Limit access to non-OS commands for a given user You could create a directory anywhere on the system (perhaps in a "bin" subdirectory from the user's home) where commands -- compiled or script -- could be stored. Those commands could then be owned by that user and be executable only by that ID. Simply add the directory to the user's PATH environment variable. 2 ) Create a alias for a given command This is useful when you have a particularly complicated command perhaps with many options. By using alias(1) in the user's profile, you can simplify any command. One that was standard twenty years ago when I first did this is college was: alias la="/bin/ls -la" 3 ) I'm making this way too hard and you want the user to execute some admin commands such as df(1M) Just add /usr/sbin to the user's PATH. |
|
||||
|
Quote:
I have been reuested by manager to create 6 users on unix server machine. 3 users to have the same privilage as the root user(they can add/remove users, reboot or restart the server,etc...) while the rest to be normal users, (they can do daily work such as monitoring the system, cp, mv...etc)......one i was thinking to do it is to define the three new users in the root group and the rest to be in others group.....do u think this would solve the request or there is somethig else which i dont know?? |
![]() |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|