05-07-2007
Don't delete the user until you don't care if the uid is reused or not. Just lock the account and delete the files.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello guys,
well as i mentioned first i have a serious problem, i need your help.
i have a hosting plan with linux, apache and php.
i have a script (that have my UID=32256) inside my web site (in the panel folder -see below-) that creates new scripts (in the pages folder) (the new scripts... (1 Reply)
Discussion started by: mehdi
1 Replies
2. HP-UX
Hi ,
I am using adduser in hp-ux to create users in Hp-ux.
i would like to know what are the valid values for uids and gids in hp-ux
what are the rannges for the valid uids .
How to check what are the used uids in Hp-ux .
Thanks
Narendra babu C (7 Replies)
Discussion started by: naren_chella
7 Replies
3. Solaris
Hi,
The dump device on my system was set to /dev/dsk/c0t0d0s7. I have done a savecore -Lv on the system which worked fine. I'm wondering have I overwritten the rootdisk here by mistake? The system is still up but will need to be rebooted due to an error on it. Will it come back up?
... (8 Replies)
Discussion started by: gwhelan
8 Replies
4. Programming
Hi, i have some problems with the following code:
char *tab_path;
char *sep=" \t\n";
char line;
char *p;
FILE * file;
int i = 0;
if(fgets(line,MAXLINE,file)!=NULL){
if((p=strtok(line,sep))!=NULL)tab_path=p;
while((p=strtok(NULL,sep))!=NULL){
i++;
... (4 Replies)
Discussion started by: littleboyblu
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
What is the best ways to keep UIDs and GIDs consistent across unix and linux server. my company have a servers running on hpux, linux, aix and many of them have veritas cluster and hacmp running, many time user account have been created only on one of the cluster node and not the others... (4 Replies)
Discussion started by: robertngo
4 Replies
6. Solaris
Hi all,
I am bit confused about UIDs on my server where LDAP athentication happens. UIDs are generally in the range of 0-65534 for any Solaris OS version(correct if i am wrong). My server is running on Solaris 9. Below are user accounts available on my server.
... (10 Replies)
Discussion started by: vvpotugunta
10 Replies
7. Shell Programming and Scripting
Hello All,
I am writing a bash script on Solaris O/S. I looping through an array. For each iteration, i connect to the datatabase and use select statement. Output of which is redirected to .CSV file. here is the code for it.
output="loop.csv"
elements=${#currency_pair}
... (3 Replies)
Discussion started by: arundhati_s
3 Replies
8. Red Hat
Hi,
I'm considering implementing pam_krb5 on RHEL 5.5 and Solaris 10, and I'm in an environment that has a number of legacy NIS domains. They've all been migrated into Active Directory, RFC2307, with the NIS maps that differed in each domain kept within its own container. However, users and... (0 Replies)
Discussion started by: cambridge
0 Replies
9. Shell Programming and Scripting
Hi All,
I am new new to unix.com, I have a question related to shell scripting.
We have a Oracle database backup shell script, which can be used for taking full, incremental & archive log backup based on the parameters passed.
Within the script we export a variable as
export... (5 Replies)
Discussion started by: veeresh_15
5 Replies
10. Homework & Coursework Questions
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:
Write a script that displays all usernames and their UIDs in the following fashion:
name1 uid=999
name2... (2 Replies)
Discussion started by: baniel
2 Replies
LEARN ABOUT DEBIAN
eurephiadm-usercerts
eurephiadm usercerts(7) eurephiadm usercerts(7)
NAME
eurephiadm-usercerts
- Managing user accounts and certificate relations
DESCRIPTION
For a user to connect to a eurephia enabled OpenVPN server, a user account must have been created and activated and an SSL certificate
available to the user must have been registered. The user account and certificate the user may use must then be linked together, and this
linking the eurephiadm usercert command takes care of.
It is also this relation which gives you the option to control which network resources the VPN clients may access, by assigning a firewall
profile to such user-certificate links.
Available modes for the usercerts command are:
-A | --add
Register a new certificate and user-cert link
-D | --delete
Delete a certificate and user-cert link
-S | --set-fwprofile
Sets the firewall access profile for a user-cert link
-l | --list
List all registered user-cert links
-h | --help <mode>
Help about a specific mode
The list mode will list all registered links between user accounts and certificates.
LIST MODE
The list mode will show all registered user-certificate links
-S | --sort <sort keys>
Define the sorting of the list
Valid sort keys are:
uid
Nummeric User ID
certid
Nummeric Certificate ID
accessprofile
Nummeric firewall profile ID
registered
According to when the user-cert was registered
uicid
Nummeric user-cert link ID
SET FW PROFILE MODE
The set-fwprofile mode will update the firewall access profile for a given user-cert link
Options: (both required)
-n | --uicid
Unique record id of certificate and user account link
-a | --accessprofile
Firewall profile ID
ADD MODE
The add mode will register a new link between a user account and a certificate.
-c | --certid
Required - Certificate ID
-i | --uid
Required - User account ID
-a | --accessprofile
Firewall profile ID to use for this access
DELETE MODE
The delete mode will delete a link between a user account and a certificate.
-c | --certid
Certificate ID
-i | --uid
User account ID
-n | --uicid
Unique record id of certificate and user account link
-a | --accessprofile
Firewall profile ID
SEE ALSO
eurephiadm-users(7), eurephiadm-certs(7), eurephiadm-fwprofiles(7)
AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net>
David Sommerseth July 2010 eurephiadm usercerts(7)