Sponsored Content
Full Discussion: renumbering user id
Top Forums UNIX for Dummies Questions & Answers renumbering user id Post 80697 by xmac on Wednesday 10th of August 2005 07:44:08 PM
Old 08-10-2005
i think u can assign specific user id via sam. but im not familiar how to do it via command line.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Renumbering files scripting help!

I am new to the world of UNIX scripting - and would like to make the following script: I have 100 files numbered 1-100. However - i would like to continue the file list - so that I add another 100 files following on, so that file 101 = 99; file 102 = 98 ; 103 = 97 and so on.... (basically ...... (6 Replies)
Discussion started by: AJC1985
6 Replies

2. Shell Programming and Scripting

How do i change to super user then revert back to ordinary user ,using shell script?

Hi all, I am trying to eject the cdrom from a livecd after certain stage... Now assuming that it is possible to eject,please consider my issue!!! The OS boots into a regular user by default...so i am unable to use the eject command to push out the drive... However if i try pfexec eject it... (3 Replies)
Discussion started by: wrapster
3 Replies

3. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

4. Shell Programming and Scripting

column renumbering

Hi, I am a beginner in awk scripting! I need your help; I want to replace the fifth column number (which is 15 here) here in this file for example : ATOM 142 N PRO A 15 ATOM 143 CD PRO A 15 ATOM 144 HD1 PRO A 15 ATOM ... (5 Replies)
Discussion started by: adak
5 Replies

5. UNIX for Advanced & Expert Users

Determining if user is local-user in /etc/passwd or LDAP user

Besides doing some shell-script which loops through /etc/passwd, I was wondering if there was some command that would tell me, like an enhanced version of getent. The Operating system is Solaris 10 (recent-ish revision) using Sun DS for LDAP. (5 Replies)
Discussion started by: ckmehta
5 Replies

6. UNIX for Dummies Questions & Answers

renaming (renumbering) fasta files

I have a fasta file that looks like this: >Noname ACCAAAATAATTCATGATATACTCAGATCCATCTGAGGGTTTCACCACTTGTAGAGCTAT CAGAAGAATGTCAATCAACTGTCCGAGAAAAAAGAATCCCAGG >Noname ACTATAAACCCTATTTCTCTTTCTAAAAATTGAAATATTAAAGAAACTAGCACTAGCCTG ACCTTTAGCCAGACTTCTCACTCTTAATGCTGCGGACAAACAGA ... I want to... (2 Replies)
Discussion started by: Oyster
2 Replies

7. Shell Programming and Scripting

renumbering within a file

Hi All, I have 100 files named - rep-0.txt, rep-2.txt...rep-99.txt. They each contain information in the following format: abc 1 qwe asd 2 zxc poi 3 lkj pdh 4 ldf hgf 5 tyu i would like to re-number , so that all the new files (rep0.dat, rep1,dat....) have... (1 Reply)
Discussion started by: chen.xiao.po
1 Replies

8. Shell Programming and Scripting

Renumbering of COBOL Source code

Hi, I have written awk script to replicate RENUM function of ISPF. Please anyone has simple script than that. awk '{i=i+10;line=substr($0,7,73); printf("%06d%s\n", i, line) }' ABC.cob where ABC.cob is Cobol source code. (4 Replies)
Discussion started by: kailas.girase
4 Replies

9. Shell Programming and Scripting

Renumbering files bash script

I am new to the world of Linux scripting, and would like to make the following 2 scripts: I have 67 files named Alk-0001.txt to Alk-0067.txt I would like them to be numbered Alk-002.txt to Alk-0134.txt eg Alk-0001.txt > Alk-0002.txt Alk-0002.txt > Alk-0004.txt Alk-0003.txt > Alk-0006.txt ... (3 Replies)
Discussion started by: tollyboy_uk
3 Replies

10. Shell Programming and Scripting

Count Repetitive Number in a column and renumbering using awk

Unable to get the desired output. Need only the rows which has repeated values in column 5. Input File <tab separated file> chr1 3773797 3773797 CEP10 1 chr1 3773797 3773797 CEP104 2 chr1 3689350 3689350 SMIM1 2 chr1 3773797 3773797 CEP4 3 chr1 3773797 3773797 EP104 ... (7 Replies)
Discussion started by: himanshu
7 Replies
userdbget(1M)															     userdbget(1M)

NAME
userdbget - display information residing in the user database, /var/adm/userdb SYNOPSIS
name [attr]... [attr]... DESCRIPTION
displays the per-user information residing in the user database as a sequence of pairs. Each pair is printed on a separate line and is preceded by the username. A per-user value in the user database, overrides any system-wide default configured in See userdb(4) and secu- rity(4) for more details about the user database and system-wide defaults, respectively. If no attr arguments are specified on the command line, displays all configurable attributes of users in the user database. If one or more attr arguments are specified, displays only those attributes. Options The following options are recognized: Display attributes of all users in the user database. Display internal attributes, in addition to the configurable ones. Internal attributes are not user configurable and are normally modified only by programs that enforce system security. The file indicates which attributes are configurable and which are internal. Display attributes for only the specified user name. Notes Only users who have read and write access to can run RETURN VALUE
exits with one of the following values: success invalid user invalid usage insufficient permission to access the user database file system error invalid attribute; does not allow a per-user value an attribute value is not within the range specified in block overflow entry overflow database lock failure database is disabled; see userdb(4) invalid user name not a local user EXAMPLES
In the following example, all attributes for user are printed. The audit flag for user is enabled. The display last login feature is dis- abled. In the next example, only specific attributes are printed. The audit flag for user is enabled. No value is printed for because that attribute is not defined for user the minimum password length for user is the system-wide default defined in (see security(4)). In the last example, prints all configurable attributes of all users in the user database. FILES
user database security defaults configuration file security attributes description file SEE ALSO
userdbck(1M), userdbset(1M), userdb_read(3), security(4), userdb(4). userdbget(1M)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy