LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 08-30-2005, 02:14 AM   #1
khebs
LQ Newbie
 
Registered: Aug 2005
Location: Philippines
Posts: 1

Rep: Reputation: 0
Exclamation login root problem


hi to all, im new in this forum, i would jst like to ask if how to log in as root in 1 line command, like in mysql -u <usr> -p <password>, its the only way "i think (for me)" that i can print with this command:

echo "hello world" > /dev/lp0

..or is there anyway that normal user can print, w/o restriction with the above command? please help... Thanks in advance..
 
Old 08-30-2005, 02:10 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

You could just give your user read and write access to that device.
 
  


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
Suse 9.3 root login problem SnypR Suse/Novell 5 10-06-2005 05:40 AM
login as root problem in SUSE 9.1 mc99044 Suse/Novell 5 11-05-2004 04:56 PM
Problem with Root Login and other stuff Books Linux - Security 4 08-28-2004 09:08 PM
Problem Login As Root, Help!!!!! abulafiar Linux - Newbie 4 08-15-2004 02:54 PM
strange problem with root login/su schbond Linux - General 6 10-17-2003 09:52 AM


All times are GMT -5. The time now is 07:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration