Creating a Super user Account

2006-10-10 Thread alena eckert
Hello,

 

I work for United Automobile Insurance Group.  We recently had our only
employee with a super user account leave the company.  No here knows
this employees id or password to update information.  Can you please
advise how we can create new accounts and give someone a super user
account without this information?

 

 

Thank you in advance,

Alena

(305) 940-7299 ext. 2422


This email is confidential and it is intended solely for the use of the 
individual or entity to which it is addressed.  If you are not the named 
addressee, you should not disseminate, distribute or copy this email.  If you 
have received this email in error, please notify the sender by a Reply.

If this email is addressed to or sent by an attorney, this email is either an 
attorney-client privileged communication or a work-product privileged 
communication, or both.  The United Automobile Insurance Company as well as the 
sender and intended recipient of this email expressly reserve any and all 
rights to assert the aforesaid privileges, and do not waive any such rights 
thereto by virtue of an erroneous email transmission.  This statement shall not 
hereafter be construed as limiting the assertion of any additional and further 
legal rights that the parties may have to limit or prohibit any further 
dissemination, distribution, copying or use of this email.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating a Super user Account

2006-10-10 Thread Eric
alena eckert wrote:
 Hello,
 
  
 
 I work for United Automobile Insurance Group.  We recently had our only
 employee with a super user account leave the company.  No here knows
 this employees id or password to update information.  Can you please
 advise how we can create new accounts and give someone a super user
 account without this information?
 

can you just ask the employee his password? there are ways to do this,
but not without at least a little bit of FreeBSD/UNIX experience. How
comfortable are you with working in the BSD environment with boot CDs, etc?

Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating a Super user Account

2006-10-10 Thread Jonathan Chen
On Tue, Oct 10, 2006 at 01:57:54PM -0400, alena eckert wrote:
 Hello,
 
  
 
 I work for United Automobile Insurance Group.  We recently had our only
 employee with a super user account leave the company.  No here knows
 this employees id or password to update information.  Can you please
 advise how we can create new accounts and give someone a super user
 account without this information?

Have a look at the Handbook:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW

-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating a Super user Account

2006-10-10 Thread Lowell Gilbert
alena eckert [EMAIL PROTECTED] writes:

 I work for United Automobile Insurance Group.  We recently had our only
 employee with a super user account leave the company.  No here knows
 this employees id or password to update information.  Can you please
 advise how we can create new accounts and give someone a super user
 account without this information?

The is a Frequently Asked Question:
 I have forgotten the root password! What do I do?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW

 This email is confidential and it is intended solely for the use of
 the individual or entity to which it is addressed.  If you are not
 the named addressee, you should not disseminate, distribute or copy
 this email.  If you have received this email in error, please notify
 the sender by a Reply.

That entity is a public e-mail list, and as such, the whole message
will be archived permanently on hundreds of web sites...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Creating a Super user Account

2006-10-10 Thread Jerry McAllister
On Tue, Oct 10, 2006 at 01:57:54PM -0400, alena eckert wrote:

 Hello,
 
  
 
 I work for United Automobile Insurance Group.  We recently had our only
 employee with a super user account leave the company.  No here knows
 this employees id or password to update information.  Can you please
 advise how we can create new accounts and give someone a super user
 account without this information?

Look up information on booting in to single user mode.
When you do this, you are effectively in root at the console
with no network services or extra stuff running.

Then, you merely need to:
  make sure the filesystems are clean - fsck(8)
  remount root with reae/write permission - mount(8)
  mount other filesystems you might need  - mount(8)
  might as well turn on swap space- swapon(8) 
  
eg.
 fsck -p
 mount -u /
 mount -a
 swapon -a

At this point you can use vipw(8)  to add an account
and passwd(1) to set or change passwords.

vipw is a special version of the 'vi' editor that handles the 
passwd file.  It takes care of locks, and updating the master 
passwd file and the password database so you don't have to do
anything with them by hand.   The editing rules in vipw are the
same as in regular vi.

The ideal thing is to copy the line with the root account on it
and then dup it.   Change the id name field and possible the home
directory if you want to keep them separate.  Then once you get
out of vipw with a 'ESC : w q' (no spaces, I just put them there
to be clear) which cause the changes to be written to the file,
you then need to run  passwd  to set a password on the new account.

  passwd newid

follow the prompts.

Then, edit the /etc/group file and put your regular non-root id
in the wheel group - just add it on the end of the list if any with
a comma separating it from previous ones.

Then, reboot.
shutdown -r now

log in as your regular id - that you just added to wheel group.
then su to the new root id to do root work.

  su newid
then give the newid password when it asks.

When you get done with the work, leave the root account by typing
  exit  at a system shell prompt

This is better and a small amount more secure than setting a password
on the regular root account.   But, you can just put a password on
the root account and su to it - just do the su without an id on the
line.

jerry

 
 Thank you in advance,
 
 Alena
 
 (305) 940-7299 ext. 2422
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]