LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2008, 02:36 PM   #1
rockjr
Member
 
Registered: Dec 2007
Posts: 30

Rep: Reputation: 15
Questions about my rhl 5 server


1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

2. why can I use ' useradd ' cmd on my rhl but there is a man page for it

3. samba is started on my server but I can't see the other window clients on the network or the can't see tht server
 
Old 05-06-2008, 03:09 PM   #2
viron
Member
 
Registered: Dec 2005
Location: McKinney, Texas
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by rockjr View Post
1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

2. why can I use ' useradd ' cmd on my rhl but there is a man page for it

3. samba is started on my server but I can't see the other window clients on the network or the can't see tht server

1) I'm not sure if you can partition a USB drive..never had a reason to try it. You can create a filesystem by using (for example) mkfs.ext2 /dev/<usbdev>

2) You can use it but there is a man page for it....huh?

3) make sure in /etc/samba/smb.conf you're on the same workgroup as the rest of the computers. once you do this you should be able to see the rest of the machines using 'smbstatus -N'
 
Old 05-06-2008, 04:19 PM   #3
yanger
Member
 
Registered: Jun 2004
Location: Wisconsin
Distribution: Ubuntu, Gentoo, FreeBSD, Solaris
Posts: 55

Rep: Reputation: 16
Quote:
Originally Posted by rockjr View Post
2. why can I use ' useradd ' cmd on my rhl but there is a man page for it
A: assuming you ment "can't", the ' adduser ' is more functional.. on ubuntu, this is what i get when I ' man useradd ':
Quote:
DESCRIPTION
useradd is a low level utility for adding users. On Debian,
administrators should usually use adduser(8) instead.
so, use adduser instead? :|

unsure about #1 or #3 though...
 
Old 05-06-2008, 04:33 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
adduser and useradd are the same thing in RH (adduser is just a symlink to useradd) btw

I gather adduser is a helper script in some distros
 
Old 05-06-2008, 09:41 PM   #5
rockjr
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
sorry about that guys.... i meant to say i cant use the command but when i do man useradd it shows how to use it but keeps coming up with this command doesnt exist or something like that.... and this happens rather i use ... useradd or adduser



and nobody else has tried to run a linux off of a usb flash drive????? like i said half will be for storage of video that i want to stream and the other half i want to put suse on it and boot it up from the flash drive

Last edited by rockjr; 05-06-2008 at 09:43 PM.
 
Old 05-06-2008, 10:04 PM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You need to run useradd as root. Were you root?
 
Old 05-07-2008, 01:36 AM   #7
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally Posted by rockjr View Post
1. how do I format a usb flash drive using the mkfs command? I want to use half of it for streaming movie files and format the other half for tht suse I will put on there

2. why can I use ' useradd ' cmd on my rhl but there is a man page for it

3. samba is started on my server but I can't see the other window clients on the network or the can't see tht server
1) use fdisk, partition the USB drive in half. Then use mkfs.ext3 /dev/sd?1, and so forth

2) /usr/sbin/useradd (need to be root)

3) iptables -F. Now do you see it? Firewall settings are up by default in RH. system-config-securitylevel
 
Old 05-11-2008, 01:25 PM   #8
rockjr
Member
 
Registered: Dec 2007
Posts: 30

Original Poster
Rep: Reputation: 15
Angry

/usr/sbin/useradd (need to be root)


so have to be in root then type that whole command with the person user name????

WOW.... My comptia cbt or book i am using inform me of this
 
  


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
Problems with email server on RHL 9 basketkase999 Red Hat 1 03-08-2005 12:58 AM
RHL 9 Email Server basketkase999 Red Hat 8 03-05-2005 12:39 PM
Web server behind RHL 9 Firewall yzxix Linux - Security 2 07-31-2004 08:02 PM
configuring X server in RHL 8.0 chinmay nautiya Linux - Software 1 04-05-2003 06:26 AM
tomcat server configuration with apache on RHL 7.2, 6.2 sathu Linux - Software 0 02-05-2002 07:07 AM


All times are GMT -5. The time now is 02:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration