On 12/10/05, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> Ryan Moszynski wrote these words on 12/10/05 08:53 CST:
> > if i wanted to login as a user other than root,
[...]
> I know this comes off as cold, however, there is a level of
> knowledge expected, and support is going to be difficult for
> anyone until you gain that expected knowledge.

Ryan, Randy's right about this.  This is pretty basic *nix knowledge
that you'll need to figure out.  However, since you haven't been pushy
about getting help, I'll give you this one.

The way to switch users when you're not at a console with a login
prompt is with the command su.  Check out man su.  So, first you have
to add an a new user with useradd, passwd, and possibly groupadd. 
There's some examples at the beginning of the blfs book.  Now, you're
logged in as root, but you want to switch to the new user.  su newuser
(or possibly su - newuser), enter the password, and now your
unprivelaged.  exit to leave the new shell you've created as newuser
and you're back to root.

Like I said, though, you don't have to be an unprivelaged user at all.
 You can do everything as root.  It's just risky since root could
easily delete or overwrite something important.

Good luck.  And you should probably check out Richard's Essential
Pre-Reading Hint
http://www.linuxfromscratch.org/hints/downloads/files/essential_prereading.txt.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to