The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-29-2007
rambo15 rambo15 is offline
Registered User
  
 

Join Date: Jan 2002
Posts: 22
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.
  #2 (permalink)  
Old 06-29-2007
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,717
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.
  #3 (permalink)  
Old 06-29-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
What OS? You might try sudo. Also try leaving nothing at all as the shell field.
  #4 (permalink)  
Old 06-29-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Quote:
Originally Posted by Perderabo View Post
Also try leaving nothing at all as the shell field.
or "/bin/false"

Last edited by porter; 06-29-2007 at 03:20 PM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0