10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi friends,
I want to create new user BG0001 in SunOS and getting below errorbash-3.2# useradd -d /home/BG0001 -m -s /bin/sh BG0001
UX: useradd: BG0001 name should have at least one lower case character.
bash-3.2#
bash-3.2#
OS version is as belowbash-3.2# cat /etc/release
... (7 Replies)
Discussion started by: sandeepkmehra
7 Replies
2. Solaris
Hi all
I am facing difficulties when using the useraddcommand.
when running useradd -u 60006 -g 100 -d /opt/xxx/yyy/z -m -s /bin/false ftpuser
It does create the user, but with a wrong home directory. It creates its home directory at /home/ftpuser
Please can you help? (2 Replies)
Discussion started by: fretagi
2 Replies
3. HP-UX
Hi all
I wanted to change the home dir for a user, but when using smh :
SMH->Accounts for Users and Groups->Local Users->Modify User
----------------------------------------------------------------------------------------------------------------------------------------------
* Required... (8 Replies)
Discussion started by: fretagi
8 Replies
4. Solaris
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies
5. Red Hat
Hi,
I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5,
example
vi test
it showing nothing after entering command (9 Replies)
Discussion started by: manoj.solaris
9 Replies
6. Red Hat
Hi
$ uname -a
Linux xyz 2.6.18-128.0.0.0.2.el5 #1 SMP Wed Jan 21 05:17:33 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
I am unable to add a new user getting following
# id
uid=0(root) gid=0(root)... (5 Replies)
Discussion started by: ankurk
5 Replies
7. Solaris
Hi All,
I am trying to create a folder in /export/home/user1 directory as a user1 but I am getting the error message as
-bash-3.00$ mkdir abc
mkdir: Failed to make directory "abc"; Permission denied
Also I tried creating the folder but it fails too
-bash-3.00$ touch abc
touch: cannot... (2 Replies)
Discussion started by: Manjunath K V
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I need to create a file using touch command . I want the size to be of
300 MB . Is it possible with touch or any other command.
Thanx for your help. (2 Replies)
Discussion started by: reply2soumya
2 Replies
9. UNIX for Dummies Questions & Answers
hi guys,
Is there any way to create a file of specified size ..ie...during creation itself u should be able to specify the size of it... (12 Replies)
Discussion started by: deep
12 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
gsscred(1M) gsscred(1M)
NAME
gsscred - add, remove and list gsscred table entries
SYNOPSIS
user oid] uid]] comment]
user oid]] uid] mech]
user oid]] uid] mech]
DESCRIPTION
The utility is used to create and maintain a mapping between a security principal name and a local UNIX uid. The format of the user name
is assumed to be You can use the option to specify the object identifier of the name type. The OID must be specified in dot-separated
notation, for example:
The table is used on server machines to lookup the uid of incoming clients connected using
When adding users, if no user name is specified, an entry is created in the table for each user from the passwd table. If no comment is
specified, the utility inserts a comment that specifies the user name as an ASCII string and the GSS-API security mechanism that applies to
it. The security mechanism will be in string representation as defined in the file.
The parameters are interpreted the same way by the utility to delete users as they are to create users. At least one of the following
options must be specified: or If no security mechanism is specified, then all entries will be deleted for the user identified by either the
uid or user name. If only the security mechanism is specified, then all user entries for that security mechanism will be deleted.
Again, the parameters are interpreted the same way by the utility to search for users as they are to create users. If no options are spec-
ified, then the entire table is returned. If the user name or uid is specified, then all entries for that user are returned. If a secu-
rity mechanism is specified, then all user entries for that security mechanism are returned.
Options
Add a table entry.
Insert comment about this table entry.
Search table for entry.
Specify the mechanism for which this name is to be translated.
Specify the optional principal name.
Specify the OID indicating the name type of the user.
Remove the entry from the table.
Specify the uid for the user if the user is not local.
EXAMPLES
Example 1: Creating a gsscred Table
The following shows how to create a table for the Kerberos Security Mechanism(V5). obtains user names and uid's from the passwd table to
populate the table.
Example 2: Adding an Entry
The following shows how to add an entry for with a specified uid of 0 for the Kerberos Security Mechanism(V5).
Example 3: Listing All User Mappings
The following lists all user mappings for the Kerberos Security Mechanism(V5).
Example 4: Lising All Mappings for a Specified User
The following lists all mappings for all security mechanisms for the user
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
The mapping table.
Tables of GSS-API based security mechanism installed.
SEE ALSO
gssd(1M), gsscred_clean(1M).
gsscred(1M)