*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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
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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.