![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Login Issue | freakygs | UNIX for Advanced & Expert Users | 1 | 01-16-2008 08:21 AM |
| Need UNIX Login ... | sakthiu | Shell Programming and Scripting | 5 | 08-20-2007 12:39 PM |
| UNIX Auto-login | nvanduyne | UNIX for Advanced & Expert Users | 1 | 06-15-2006 10:16 AM |
| unix login welcome message | webtekie | UNIX for Dummies Questions & Answers | 17 | 11-17-2004 12:39 PM |
| Remote Login (Unix) | DPAI | UNIX for Dummies Questions & Answers | 3 | 07-13-2001 09:51 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
UNIX login ID
Hello World:
I need to have a user ID called devapp in the passwd and shadow file for a certain application to start. The problem is that I do not want users to be able to use the devapp login ID to log directly into the system. The users sometimes need to start and stop the application and view it's log files. This can only be done if they are the devapp user. What I need to do is not allow the devapp login directly to the system, but allow the user to login as himself and SU to the devapp user ID. I have tried placing /bin/false as the shell for the devapp user ID but then when user tries to SU to devapp it fails. Any suggestions or thoughts would be greatly appreciated. Respectfully; Mark K. |
|
||||
|
1. Try a restricted shell
2. chroot the account and limit what is in the local /usr/bin directory 3. Write a login script that locks the users into a script with just the options you want to allow - start, stop, view logs. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|