UNIX login ID


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UNIX login ID
# 1  
Old 06-29-2007
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  
Old 06-29-2007
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  
Old 06-29-2007
What OS? You might try sudo. Also try leaving nothing at all as the shell field.
# 4  
Old 06-29-2007
Quote:
Originally Posted by Perderabo
Also try leaving nothing at all as the shell field.
or "/bin/false"

Last edited by porter; 06-29-2007 at 04:20 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

New Login Button for UNIX.COM

Hey, Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right. I have tested and it seems to work fine (has been working on mobile for quite some time); but I may tweek the... (14 Replies)
Discussion started by: Neo
14 Replies

2. UNIX for Dummies Questions & Answers

Login to svn from UNIX

Hi Can anyone please tell me about how to connect to SVN from unix Thanks (2 Replies)
Discussion started by: kedar_laveti
2 Replies

3. UNIX for Dummies Questions & Answers

Login to UNIX from the browser.

Hi All, I need to login to the UNIX server from the browser. can you please tell me the procedure? Thanks Sarwan (5 Replies)
Discussion started by: sarwan
5 Replies

4. Web Development

Login in Unix

Can anyone plz share the HTML code for login in UNIX. I am not able to verify the password. (2 Replies)
Discussion started by: manish.s
2 Replies

5. Programming

Login script for unix ?

Anyone know of a script or program in a unix platform that will allow one login and password for three databases ? Say i have a social site that has a video site and phpBB3 forum but i want them connected as one login. I heard there is a script that does that , anyone know the name or where to get... (0 Replies)
Discussion started by: rumrunner439
0 Replies

6. UNIX for Dummies Questions & Answers

Unix Id from Window Login ID

Hello All, My Problem is -> How can we get UNIX id from open mail authentication (Windows ID) in UNIX. In following command we are using domain name, which may change in your reference. As, if we use following command. ypcat passwd | grep rohitp | cut -d: -f5 | cut -d, -f1 => we get... (0 Replies)
Discussion started by: pandey.rohit
0 Replies

7. UNIX for Advanced & Expert Users

login to unix using java

Hey..i need some assistance to login to unix using a java application. The point is, i need to read a particular file in unix using a java application on windows. (2 Replies)
Discussion started by: dowell
2 Replies

8. Shell Programming and Scripting

Need UNIX Login ...

Hi, I dont have UNIX os on my pc. I want to learn UNIX system programming. How to get this OS or Can i get any remote login account ? Thanks. Bye... (5 Replies)
Discussion started by: sakthiu
5 Replies

9. UNIX for Advanced & Expert Users

UNIX Auto-login

I am trying to bypass the login screen when the system boots and auto-login to open windows. I believe I need to modify the S99dtlogin but I don't know what to add/modify. Has anyone ever created an auto-login for Solaris 8? (1 Reply)
Discussion started by: nvanduyne
1 Replies

10. UNIX for Dummies Questions & Answers

unix login welcome message

When I telnet to a unix server someone put a stupid message there: Last login: Mon Nov 15 16:59:13 from xxx.xxx.xxx.xxx Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 YO! <-- message Mon Nov 15 17:19:05 EST 2004 How did they do it and how can I find out who did it? ... (17 Replies)
Discussion started by: webtekie
17 Replies
Login or Register to Ask a Question