Issue with account passwords

Open forum for security issues and info.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
pentium
Posts: 4709
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Issue with account passwords

Unread postby pentium » Wed Jan 23, 2008 7:34 pm

It's sad to say but in all my years I have NEVER had to change an account password until now.
What's annoying me is that my root account will accept pretty much accept anything as a password but my regular account is limited to a password that is between four and eight characters long and contains at least one numerical digit and I hate having different passwords for different systems. Is there anyway to bypass the current password rules? Account "Will" needs a face lift. ;)
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

User avatar
recondas
Moderator
Moderator
Posts: 5427
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Re: Issue with account passwords

Unread postby recondas » Wed Jan 23, 2008 8:15 pm

pentium wrote:Is there anyway to bypass the current password rules?

man passwd
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************

User avatar
pentium
Posts: 4709
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Issue with account passwords

Unread postby pentium » Wed Jan 23, 2008 8:27 pm

All hail the mods!

I forgot about passwd. Well I got what I wanted now.
Now it's time to change the profile photos.

EDIT: How do I change the login name? I don't want to see if changing the home directory will do it because I might mess up.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

SAQ
Posts: 5868
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: Issue with account passwords

Unread postby SAQ » Wed Jan 23, 2008 10:10 pm

pentium wrote:All hail the mods!

I forgot about passwd. Well I got what I wanted now.
Now it's time to change the profile photos.

EDIT: How do I change the login name? I don't want to see if changing the home directory will do it because I might mess up.


vipw. You can also use jot or something similar to hand-edit /etc/passwd AND /etc/shadow.
"Brakes??? What Brakes???"

"I am O SH-- the Great and Powerful"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
pentium
Posts: 4709
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Issue with account passwords

Unread postby pentium » Wed Jan 23, 2008 11:40 pm

I got it now.
I just need to figure out how to change my name from Will to John now.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

User avatar
recondas
Moderator
Moderator
Posts: 5427
Joined: Sun Jun 06, 2004 5:55 pm
Location: NC - USA

Re: Issue with account passwords

Unread postby recondas » Thu Jan 24, 2008 5:23 am

System Manager > Security and Access Control > User Manager > Modify a User Account
***********************************************************************
Welcome to ARMLand - 0/0x0d00
running...(sherwood-root 0607201829)
* InfiniteReality/Reality Software, IRIX 6.5 Release *
***********************************************************************

User avatar
pentium
Posts: 4709
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Issue with account passwords

Unread postby pentium » Thu Jan 24, 2008 6:49 am

Yes, I tried there but It will only let me edit the Full name. The account name (will in this case) I have no idea how to change.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.

SAQ
Posts: 5868
Joined: Wed Jul 19, 2006 8:37 am
Location: Renton, WA

Re: Issue with account passwords

Unread postby SAQ » Thu Jan 24, 2008 7:55 am

You go through an editor to the base password files (/etc/passwd and /etc/shadow). Make sure they are both in sync, or else you won't be able to login. Change the first field (username) to whatever you want your new name to be, but don't change the UID (or else you'll have to reset all permissions/ownership). Change the home directory and rename, and then you can mess with the GECOS fields to change the full name.

Open /etc/shadow and change the first field to the new name from the old name.

You should be good to go.
"Brakes??? What Brakes???"

"I am O SH-- the Great and Powerful"

:Indigo: :Octane: :Indigo2: :Indigo2IMP: :Indy: :PI: :O3x0: :ChallengeL: :O2000R: (single-CM)

User avatar
akimmet
Donor
Donor
Posts: 289
Joined: Sun Feb 09, 2003 10:39 am
Location: Middle Of Nowhere, OH, US

Re: Issue with account passwords

Unread postby akimmet » Thu Jan 24, 2008 8:13 am

The correct way would be to create a new account. You would then copy the contents of the old users home directory to the new one, then chown the files to the new account.

You could also manually change the username in the /etc/passwd and /etc/shadow files. I would also change the home directory to match the new username as well anyway to avoid confusion later. However I don't recommend this route if you aren't already familiar with these files already.
:Indy: :Indy: :Indy: :Indy: :Indy: :O2: :O2: :Octane: :Octane2:

User avatar
pentium
Posts: 4709
Joined: Mon Aug 28, 2006 6:29 pm
Location: Kamloops, BC

Re: Issue with account passwords

Unread postby pentium » Thu Jan 24, 2008 2:04 pm

I would also change the home directory to match the new username as well anyway to avoid confusion later

For me that would be an aesthetic change. Besides, I don't know what the system would do if I changed the name of a user directory.

EDIT: There we go!
I got it.
:Crimson: :Onyx: :O2000: :O200: :O200: :PI: :PI: :Indigo: :Indigo: :Indigo: :Octane: :O2: :1600SW: :Indigo2: :Indigo2: :Indigo2IMP: :Indigo2IMP: :Indy: :Indy: :Indy: :Cube:

Image <-------- A very happy forum member.


Return to “SGI: Security”

Who is online

Users browsing this forum: No registered users and 1 guest