06-12-2008
Depends on what user you "su" to. If you call "su" without any username, it is root, you want to become. Since you didn't write any username, I guess you lost your root pw. For this it depends which OS you have - best start searching a recovery/maintenance CD/boot to reset your root pw. Google will have a lot on this topic.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong.
The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
2. UNIX for Advanced & Expert Users
Helo ,
I m using linux pam library for user and its password authentication.
I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me
$ su - ram
Password:
You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies
3. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
4. Solaris
Hi Gurus
I have a few Sol 5.9 servers and i have enabled password less authentication between them for my user ID. Often i have found that when my password has expired,the login fails.
Resetting my password reenables the keys.
Do i need to do something to avoid this scenario or is this... (2 Replies)
Discussion started by: Renjesh
2 Replies
5. OS X (Apple)
When i try to install some software OSX asks for a password but i don't use a password at all. Somebody knows a answer please???
asta (4 Replies)
Discussion started by: astapopulos
4 Replies
6. Shell Programming and Scripting
Hi,
I came across the following script for encrypting the password in this forum
#! /usr/bin/ksh
exec 4>/dev/tty
function getpass
{
typeset prompt=$1
typeset backspace=$(echo \\b\\c)
typeset enter=$(echo \\r\\c)
typeset savesetting=$(stty -g)
... (9 Replies)
Discussion started by: dbashyam
9 Replies
7. UNIX for Dummies Questions & Answers
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup.
I am working on Solaris 10.
Here is the code.
#!/bin/ksh
# sample automatic Sftp script to dump a file
USER="user1"
PASSWORD="pass1"
HOST="host1"
sftp $USER@$HOST... (6 Replies)
Discussion started by: megha2525
6 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
LEARN ABOUT CENTOS
cimauth
cimauth(8) cimauth(8)
NAME
cimauth - add, modify, remove, or list CIM namespace authorizations of users
SYNOPSIS
cimauth -a -u username -n namespace [ -R ] [ -W ]
cimauth -m -u username -n namespace [ -R ] [ -W ]
cimauth -r -u username [ -n namespace ]
cimauth -l
cimauth -h
cimauth --help
cimauth --version
DESCRIPTION
The cimauth command manages read and write CIM namespace authorizations of users. The operations are executed on the local host by submit-
ting requests to the CIM Server. If the value of the configuration property enableNamespaceAuthorization is True , the CIM Server
restricts access to namespaces based on user authorizations configured via cimauth . Changes to "Dynamic" authorization parameters does
not require the CIM Server to be restarted. "Non Dynamic" configuration properties (E.g. enableNamespaceAuthorization ) can only be set as
planned configuration and the CIM Server needs to be restarted to realize the change. (See cimconfig (8) for information on configuring
the CIM Server.)
Options
The cimauth command recognizes the following options:
-a Adds read and/or write authorizations to the specified user on the specified namespace. If neither the -R nor the -W
option is specified, adds a read authorization by default.
-h, --help Display command usage information.
-l Lists all the authorizations configured in the CIM Server.
-m Modifies authorizations of the specified user on the specified namespace. If neither the -R nor the -W option is
specified, modifies the authorization to be a read authorization by default.
-n namespace Specifies the R namespace for the operation.
-r Removes authorizations of the specified user on the specified namespace. If no namespaces are specified, removes
authorizations on all namespaces for the specified user.
-R Specifies read authorization on the namespace.
-u username Specifies the user for the operation. The specified R username must represent a valid user on the local host.
--version Display CIM Server version number.
-W Specifies write authorization on the namespace.
EXIT STATUS
When an error occurs, an error message is written to stderr and an error value of 1 is returned. The following return values are returned:
0 Successful completion
1 Error
USAGE NOTE
The cimauth command requires that the CIM Server is running.
EXAMPLES
Add read authorizations to user "guest" on namespace "root/cimv2".
cimauth -a -u guest -n root/cimv2 -R
Add read and write authorizations to user "guest" on namespace "root/system".
cimauth -a -u guest -n root/system -R -W
Modify authorizations of the user "guest" on namespace "root/system" to read only.
cimauth -m -u guest -n root/system -R
Remove the authorizations of the user "guest" on namespace "root/system".
cimauth -r -u guest -n root/system
List all the authorizations configured in the CIM Server.
cimauth -l
SEE ALSO
cimserver(8), cimconfig(8).
cimauth(8)