LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 07-10-2008, 12:23 AM   #1
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Rep: Reputation: 15
Thumbs up Please clarify my questions on FreeBSD


Hai,

I have just installed FreeBSD6.3 . Now I created a user for that using adduser. After that all went wrong. Its asking username, Fullname and Uid. I gave the same (username i created) for the first two questions and left empty as it said for the third one.

I want to know whats all this?
Why should i give all the above details?
How can I set password for the user I created?
Can I use the root here as same as the root in normal Fedora.

Please say about the things mentioned above in detail.

Thanks,
Prakash.
 
Old 07-10-2008, 12:32 AM   #2
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Only the username is mandatory. You can skip the Fullname. If you skip the Uid, the next available number will be used.
If it didn't prompt for the password after this, type 'passwd username' to set the password.
Root is the same here as in Fedora. Just remember that you won't be able to su into root from your normal user account unless this user is present in the 'wheel' group.
 
Old 07-10-2008, 12:32 AM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Learn about /etc/passwd,
Read man passwd
read man useradd # or adduser if you have that

The, after you have learned all about it, you can tell us in detail what you've learned.
 
Old 07-10-2008, 12:34 AM   #4
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
It puts these details in /etc/passwd, but you can leave the fullname blank.
Some versions of linux do this too: ubuntu/slackware that I know off

to change another users password as root, just run:
passwd username
where username is the username of the user you want to change password for.

you should be able to use root if you want, it is just better to not run as root for every-day use, only when it is really needed - even if you use fedora, you should not run as root.
 
Old 07-10-2008, 12:58 AM   #5
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Original Poster
Rep: Reputation: 15
Hi,
Thanks for your reply. I did the same as you explained. I gave adduser and then gave the same name for username and left fullname and uid blank. Then the result is the

Login group [username]:

Here what ever I give the result is same ie.,

Login group is Username. Invite username into other groups? []:

Here what ever I give the result is group .... does not exist!

i am not getting it. please help me in this aspect.

Thanks,
Prakash.
 
Old 07-10-2008, 01:06 AM   #6
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
The first rule of FreeBSD is, read the handbook! There's a demo of the adduser command here: http://www.freebsd.org/doc/en/books/...modifying.html
 
Old 07-10-2008, 01:42 AM   #7
prakash.akumalla
Member
 
Registered: Jun 2008
Location: India
Posts: 109

Original Poster
Rep: Reputation: 15
Hi,
Thanks arun for ur valuable suggestion. I have created an user and switched to it. Now in that particular user commands like yum, wget updateb are not working.
Please help in this topic
Thanks,
Prakash
 
Old 07-10-2008, 02:29 AM   #8
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Again, read the handbook. yum is for rpm-based linux distros. FreeBSD uses ports (source-based installation) and packages (binaries, similar to yum).
There's detailed chapters for both, skim through them and use whichever you like.

You probably haven't installed wget and updatedb. Read the handbook and see how those can be installed.
 
Old 07-10-2008, 01:12 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <*BSD> and has been moved accordingly to help your thread/question get the exposure it deserves. I also renamed it since you obviously had
questions, not doubts.
 
Old 07-10-2008, 03:22 PM   #10
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
@prakash.akumalla: You'll find the FreeBSD manpages are generally quite informative. A quick look at adduser(8) would have answered your questions.

Quote:
Now in that particular user commands like yum, wget updateb are not working.
  • Chapter 4 Installing Applications...
  • Use fetch instead of wget. See manpages for fetch(1). If you really require some unique functionality of wget, install it from packages or ports.
  • updatedb is run by FreeBSD's periodic facility via the script /etc/periodic/weekly/310.locate. It will run weekly. If you require it to be run for a one-off situation, then you can run that script directly (as root).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD questions Fredstar *BSD 8 05-30-2005 06:18 PM
some questions to clarify dimsun Linux - Newbie 4 11-05-2004 09:28 PM
freebsd questions Abe_the_Man *BSD 1 02-02-2004 03:25 PM
FreeBSD questions Jestrik *BSD 14 02-01-2004 04:02 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration