Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 06-24-2009, 06:14 AM   #1
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Rep: Reputation: 31
Create restricted user account that can only administer printers

Is it possible to create a user account that can only log on, clear printer queues and not do anything else?
Old 06-24-2009, 09:02 AM   #2
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
You can use sudo for this purpose.

In the sudo model you create individual accounts for each person that is going to login to the system. You then modify the sudoers file (with visudo) command to grant them access to only specific commands as root.

Sudo is pretty widely used in UNIX and Linux for many purposes.

Type "man sudo", "man visudo" and "man sudoers" for more details.
Old 06-24-2009, 09:54 AM   #3
Registered: Jun 2003
Location: London
Distribution: Mandriva 2008 Spring
Posts: 652

Original Poster
Rep: Reputation: 31
I didn't you do could change sudo like that. Thanks.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create new user account rachala2 Linux - Newbie 2 01-04-2009 02:29 AM
linux create user account deus1 Linux - General 2 06-04-2005 07:32 PM
Create a New Super user account blazted Linux - Newbie 6 02-13-2005 04:56 PM
Setting Up a Restricted User Account MClayton Linux - Networking 2 10-19-2004 12:31 PM
cannot create new user account kpachopoulos Linux - Newbie 4 08-17-2004 08:38 AM

All times are GMT -5. The time now is 10:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration