Creating IDs on HPUX 11.x


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Creating IDs on HPUX 11.x
# 1  
Old 03-11-2004
Creating IDs on HPUX 11.x

HPUX 11.0. Want to create a set of IDs (about 4 or them) for various teams to use to logon to the server. However, client does not want teams to logon directly to the server (via console, telnet etc) with these IDs. Rather, they want the teams to logon with their own ID then su to the new ID. IDs are to be used only for support purposes and they will be scripting the session when in use. Can this be done? If so, how?
# 2  
Old 03-13-2004
It is easier in solaris since you can use "role" declarations in /etc/user_attr.

I'm not sure if HPUX has a built-in for limiting general account login, but if you are using ssh, you can simply use the DenyUsers directive to list the accounts that you don't want to allow direct login for:

DenyUsers user2 user4

Let me know if you aren't using ssh as the login method. I have another option, but it's more involved and I'll post it if need be.

Cheers,

Keith
# 3  
Old 03-13-2004
Yeah, I knew about the "role" method in Solaris. That is exactly what we have used on those machines, but now want something very similar on the HPUX boxes. We are not currently using SSH. Thanks for your reply.

Last edited by google; 03-14-2004 at 10:43 AM..
# 4  
Old 03-13-2004
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

List of all ids,groups, privilege ids

I wish to pull out a list of all user ids on the system, including the privileged ids, the groups to which they belong to. Sometimes after deleting an id also, its home dir does not get deleted or an entry is left behind in /etc/passwd. Can someone help me with a script to achieve both. (2 Replies)
Discussion started by: ggayathri
2 Replies

2. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

3. Shell Programming and Scripting

common ids

I have file1.txt I have file2.txt and I want to extract all the rows in file1.txt that have the same idsas file2.txt in the 3rd column in the file1.txt. so the output willl be I have tried sort ${data}/13.txt > ${data}/13 sort -k3,3 ${data}/333.txt > ${data}/333 awk... (4 Replies)
Discussion started by: johnkim0806
4 Replies

4. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

5. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

6. Shell Programming and Scripting

Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX.

I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies

7. Programming

Creating an array to hold posix thread ids: Only dynamic array works

I am facing a strange error while creating posix threads: Given below are two snippets of code, the first one works whereas the second one gives a garbage value in the output. Snippet 1 This works: -------------- int *threadids; threadids = (int *) malloc (num_threads * sizeof(int)); ... (4 Replies)
Discussion started by: kmehta
4 Replies

8. UNIX for Dummies Questions & Answers

can't su to any IDs

hello friends, i had this problem couldn't figure out. Every time i tried to su to an id by this command. it gave all killed command after that. Can't use it at all. ( OS Irix ). Any help greatly appreciated. ========= server 23# su - hbl3121 Killed Killed Killed Killed Killed Killed... (2 Replies)
Discussion started by: anphdula
2 Replies

9. UNIX for Dummies Questions & Answers

Ids

What's the relationship beteew IDS and informix ? (1 Reply)
Discussion started by: wuhuatao
1 Replies

10. UNIX for Dummies Questions & Answers

Creating user ids on multiple systems simultaneously

I am trying to think of a way to create user ids on multiple Linux systems in one fell swoop without logging onto each system indivually. Is there a way to do this with ssh commands? I don't want to use NIS/LDAP solution just a simple shell script utilitarian methodoloy would suffice. Also, I am... (1 Reply)
Discussion started by: darthur
1 Replies
Login or Register to Ask a Question