ddbf
![]() |
|
|
|
|
|||||||
| General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello, I'm new to freeBSD. I am trying to add a user to group wheel. I have entered the following code:
Code:
pw user mod username -G wheel Code:
groups username |
|
#2
|
|||
|
|||
|
looks to me like it is supposed to be:
# pw usermod username -G wheelbut I never use that thing... what's wrong with # vi /etc/groupyou are root when trying, right? Last edited by phoenix; February 17th, 2012 at 23:11. Reason: Please format your posts! |
|
#3
|
|||
|
|||
|
Never mind... I finally figured-out that my file system was read-only. I had no idea why I was getting this response when trying to use vi and view and other things.
I just used the command: Code:
mount -u / |
|
#4
|
|||
|
|||
|
Quote:
I couldn't use vi before since the file system was set to read-only. I am root, single-user. Thanks for the reply though. |
|
#5
|
||||
|
||||
|
If you boot in single user mode only the root (/) filesystem is mounted. Read-only.
To get some functionality you need to remember these (you're going to use them often): Code:
fsck -p # if you have errors fsck -y might be a better idea mount -u / # re-mounts root read-write mount -t ufs -a # mounts all UFS filesystems swapon -a # turns on swap/virtual memory adjkerntz -i # adjusts for the timezone
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
|
#6
|
|||
|
|||
|
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Solved] Can't add user to NIS group | mallen324 | General | 7 | August 9th, 2011 15:00 |
| Only wheel group can log in with ssh. | bryn1u | General | 8 | March 30th, 2011 14:30 |
| [Solved] how user@wheel group check the root's mail | f5b | General | 5 | March 8th, 2010 08:33 |
| [Solved] Add yourself to the 'wheel' and 'operators' group | afroman10496 | General | 3 | December 27th, 2009 22:43 |
| gnome add user and group permision problem | ericturgeon | GNOME | 2 | December 28th, 2008 14:53 |