Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 25

Thread: Graphical root login-- be fore warned im a total noob --

  1. #11
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    you type
    Code:
    su -c "visudo"
    hit enter and add what i wrot below to a new line below the one with knoppix.
    Code:
    yourusername ALL=NOPASSWD :ALL
    you add text by hitting
    i
    then use arowkeys to move cursor to point you want (end of the knoppixline) then enter to start new line, there you just type your username and rest same as for line with knoppix and hit
    Code:
    shift+q then q and w folowed by enter
    read here for explanation what that does.
    http://floppix.com/vi.html

    as for writing in fstab
    su -c "kwrite /etc/fstab" should work as well.

    there is no need to become knoppix, just that you have a different user than root is enough. otoh
    su knoppix
    in a shell will switch you to become the user knoppix (if you are not already).

    sad fact is that installing knoppix is a bad introduction to linux, it is much harder than need be, ubuntu or fedora even Debian or Slackware are better as they are intended for hddinstall, in knoppix things are deliberatly "broken" to work well as live CD.
    something you will have to fight...

  2. #12
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    as for lerning system in GUI, not even close, you will only lern a few tools, not how things really work.

  3. #13
    Member registered user
    Join Date
    Nov 2006
    Location
    UTAH united states
    Posts
    30
    ok i had my boss help me out. but i have decided that knoppix is no the best choice to use. i should have used like red hat 9 or some thing that will allow me to log in with the GUI. im the onlyone who uses this computer and im installing it on my box so i can learn it. so i need to have all the permissions set for my user name so i can just log in and do what i need to do.

    also im confused about mounting. here is what happened to me. I have 3 partitions, HDA1, HDA2, HDA3. HDA1 is for the install and 2 is for LFS and 3 is soloris swap. well i create a folder named LFS in the /home folder. i mounted hda2 to the /home/LFS folder and then i create a sub folder named sources in the LFS folder, so i have /home/lfs/sources. well when i umount hda2 my sources folder dissapeers but yet my lfs folder is still there. my reasoning for this is that the LFS folder was created on the hda1 and then the sources folder was created on hda2, so when i umount hda2 the ources folder dissapeers cuz hda2 is not mounted anymore. so basicaly im mounting one partition to another, for instance hda2 is mounted on mount point lfs which is on hda1. thanx soo far for all the help and for the help in advance

  4. #14
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    im installing it on my box so i can learn it. so i need to have all the permissions set for my user name so i can just log in and do what i need to do.
    hmm, no that is falce thinking, in a "hot" environment you will not get the root password, you will be given a set of privileges that allow you to do certain things as admin, either with sudo or because you belong to a group that is alowed to do that/those task/s.

    and i I would NOT use redhat 9, that is OOOOOLD!, old enough to be vulnerable and outdated anyway.
    fedora is the free version of redhat.

    as for loging in as root, DON*T!
    I promice you will regret it, do ONLY what you absolutly NEED as root, pleeees, I promise it is as fast (atleast if put all the damage you must repair into equation), and MUCH safer.

    yes you are correct, mounting is ataching the filesystem of the device to a directory, more below.

    mounting is just getting acess to a certain filesystem of a certain device/partition at a specified point, the acess can be had wherever/however root wishes.
    that is what /etc/fstab does, tell system where root wants the filesystems what type they are and what permisions they will have....

    if you create a directory under, say, /mnt/hda2 directory, before mounting /dev/hda2 there, directory will be in same partition as /mnt is (likely /dev/hda1, first partition of first hd in your case).

    But If you mount the filesystem of /dev/hda2 to the dir /mnt/hda2/ and then create a directory under /mnt/hda2, it will be in the filesystem of /dev/hda2.
    the /dev/hda2 is the "filesystem" of second partition, but you need to mount it to some directory to be able to write to it in normal way.
    Hmm, not entirely true, as alway there are ecceptions, you can still do a manual binary/hex edit, or a bit-by-bit copy of another filesystem of same size (and preferably same number of sectors heads and cylinders), with filesystem unmounted, but that is a different story.

    keep asking.

  5. #15
    Member registered user
    Join Date
    Nov 2006
    Location
    UTAH united states
    Posts
    30
    LOL. ok so what distro of linux should i use that will teach me alot and allow me to learn the system. remember this is my first time using linux. is fedora the newest version. Im trying to learn this stuff before school starts in january becasue im going into computer forensics and becoming an "ethical hacker". that sort of stuff has always been an interest to me. if i dont become some great hacker thats ok becasue its still a great thing to know about. well i think i understand mounting a lil bit more.

  6. #16
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by LT72884
    ...... is fedora the newest version. .....
    You don't need (or even want) the newest version of a Linux distro, you would be better serverd by something stable and a lot like other Linux distros, as long as it has support for your hardware (some bleeding edge distros do have drivers for some newer hardware but are in turn less stable). There are many distros that you could select from, if you are interested in Knoppix and it runs on your hardware then Debian Etch would be a distro to look at (although it seems likely that you will benefit from installing many different distros and learning the differences). As a Live CD, Knoppix is a great way to introduce new users to Linux, but it's not quite suitable for the average user to install to hard disk. You would also be well advised to listen to what others are telling you about not operating under the "I want all power at all times" mentality. If you are going to learn Linux that includes learig proper security issues and proper operation, and when root access is needed and should be used (and when it should not). Bypassing this will leave a big hole in your understanding of Linux.

  7. #17
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    hm, if you want to know Linux I would go with either slackware or Debian.
    if you want something that is easy and "works" more or less out of box without effort ubuntu or fedora is what you want.

    trouble is that the more "automated" the install and system administration is the more little anoyances pop up, most persons that have used linux for a while tend to choose slightly less automated approach, it is more stable and less prone to suicide.
    the packagehandling in Debian is hard to match and the stability is great, Slackware is as stable and somewhat more "standard" EDIT the goal for Slackware is to make the most unixlike (whatever that is) and standard linux /EDIT no fancy patches, nothing flashy, but is rock solid. i would be hard pressed to say which is "better" of the two.
    Fedora and Ubuntu are ok but you will only learn THEIR admin tools, not how LINUX work... someone that knows linux (read Slackware and/or Debian) can admin them all but someone that knows redhat/fedora/ubuntu is handicapped if outside his/her distro.

  8. #18
    Member registered user
    Join Date
    Nov 2006
    Location
    UTAH united states
    Posts
    30
    [quote="Harry Kuhman"]
    Quote Originally Posted by LT72884
    ...... is fedora the newest version. .....
    "I want all power at all times" mentality. quote]

    LOL, yes thats the problem im facing. i am soooo new to this stuff that i figure the only way to learn is to have all the power, when in reality, its no thtat way. thats why i luv you guys. you point me in the right direction.. im just so excited for school and allll the new info im going to learn. its gonna rock. ok so i need to learn when it is ok to su to root and when its not needed. Im gonna keep workin on my LFS ( Linux From Scratch) and see where that takes me, and in the mean time i will keep learning stuff. so what do you guys suggest i do besides NOT be power hungery.
    thanx for all the help and thanx in advance.

  9. #19
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    As for what you should know, hmm, I have pointed you to the lab part of floppix ( http://floppix.com/labs.html ), that is a great source of basic knowledge, read them and try to understand them, I have yet to find any better crashcourse for linux.
    if you use kwrite to edit the files instead of vi is up to you (as i said vi is on most *x).

    as for LFS, that is like teaching a teen driving a car by being forced to take the place of an experienced driver without much knowlege, atleast not beyond knowing accelerator and steeringwheel, and that in the middle of a formula1 race.

    hmm, as to what else, try to get a basic knowlege of what the diferent configfiles look like.

  10. #20
    Member registered user
    Join Date
    Nov 2006
    Location
    UTAH united states
    Posts
    30
    sorry for the late reply. i have been swamped at work. 5 computers went down over the weekend and i have to rebuild them all.. /wrists. this is onna be a long week. a psu went out on one and took every thing with it.

    Ok so these configs files you speak of, where would i find them and how do i understand what theyare doing. i will prolly be printing a ton of stuff off of floppix today. give me something to do besides fix pc's all day. Yeah LFS is kinda advance but thats ok. i think i will learn alot form it once i start it.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Make Live CD from DVD?...... by total noob.
    By wobbler in forum Customising & Remastering
    Replies: 7
    Last Post: 11-22-2005, 08:22 PM
  2. Creating a Graphical LDAP login
    By bgsneeze in forum Customising & Remastering
    Replies: 0
    Last Post: 08-27-2004, 03:27 PM
  3. total noob atapi problems
    By cecilbdemented in forum General Support
    Replies: 0
    Last Post: 07-31-2004, 10:23 AM
  4. no graphical login..
    By koma in forum General Support
    Replies: 7
    Last Post: 03-15-2004, 08:04 AM
  5. Revolving Door Graphical Login
    By beforewisdom in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 03-24-2003, 09:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95