how can i change the superuser password?
the admin left the company, and we want to change the password.
to gain su access, i use:
# su -
password:***** (old password)
then, using passwd command it changes my own login password, not the root??
(this is not trying to block anybody's... (4 Replies)
My first post:
in /etc/rc2.d i have a startup script: Script1.
if you run #>scirpt1 stop/start from any user other than root you will get u must be supper user to run this script. eventhough the rights are 777.
Question: how can i get my user_a be able to run this script to stop and start it... (2 Replies)
Can i change the password on the SCO GUI interface login page and if so how?
When I try to login it just goes right back to the login screen. If anyone has any suggestions, please reply. :confused: (3 Replies)
Hi-
I'm trying to access my remote server via my bash shell (mac os x), but have forgotten my SSH pswd.
How can I reset my pswd?
Thanks for any leads... (1 Reply)
Strange one this...
One of our contacts switched FTP servers, a different IP and now using port 2121 instead of 21.
Changed the details in a Windows application using the username & password provided and it works no problem.
Tried to FTP through Unix and although I can connect to the... (2 Replies)
Hi!
Can someone please tell me how to log-in to Solaris as a superuser or as a root?
I have tried using "root" as a username, and my superuser password i had set in the terminal for the log-in password but it says "Roles can only be assumed by authorized users". "Permission denied."
I'm... (1 Reply)
Hello!
I found this on net:
This is the ``prompt''. If you entered you username, or your password incorrectly, you will be greeted by:
Login incorrect
localhost login: Don't panic, try again. Likely you either mis-typed either your login name, or your password. Try again. You're not... (2 Replies)
I have just installed Solaris 11. When I turn the computer on I don't want to see a login in screen. I want to automatically be logged in as "SUPERUSER".
My research tells me someone is going to tell me that's not wise or safe. I'm not interested in security advice. If someone I know is... (10 Replies)
Discussion started by: kkeevv
10 Replies
LEARN ABOUT LINUX
chfn
CHFN(1) User Commands CHFN(1)NAME
chfn - change real user name and information
SYNOPSIS
chfn [-f full_name] [-r room_no] [-w work_ph] [-h home_ph] [-o other] [user]
DESCRIPTION
The chfn command changes user fullname, office number, office extension, and home phone number information for a user's account. This
information is typically printed by finger(1) and similar programs. A normal user may only change the fields for her own account, subject
to the restrictions in /etc/login.defs. (The default configuration is to prevent users from changing their fullname.) The superuser may
change any field for any account. Additionally, only the superuser may use the -o option to change the undefined portions of the GECOS
field.
These fields must not contain any colons. Except for the other field, they should not contain any comma or equal sign. It is also
recommended to avoid non-US-ASCII characters, but this is only enforced for the phone numbers. The other field is used to store accounting
information used by other applications.
If none of the options are selected, chfn operates in an interactive fashion, prompting the user with the current values for all of the
fields. Enter the new value to change the field, or leave the line blank to use the current value. The current value is displayed between a
pair of [ ] marks. Without options, chfn prompts for the current user account.
CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool:
CHFN_RESTRICT (string)
This parameter specifies which values in the gecos field of the /etc/passwd file may be changed by regular users using the chfn
program. It can be any combination of letters f, r, w, h, for Full name, Room number, Work phone, and Home phone, respectively. For
backward compatibility, yes is equivalent to rwh and no is equivalent to frwh. If not specified, only the superuser can make any
changes. The most restrictive setting is better achieved by not installing chfn SUID.
FILES
/etc/login.defs
Shadow password suite configuration.
/etc/passwd
User account information.
SEE ALSO chsh(1), login.defs(5), passwd(5).
User Commands 06/24/2011 CHFN(1)