Thread
:
Running a command as a different user w/o starting the login shell
View Single Post
#
3
(View Single Post)
29th June 2011
vermaden
Administrator
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Yup.
Code:
# sudo -u test ls BACKUP # grep test /etc/passwd test:*:2000:2000:test:/var/empty:/usr/sbin/nologin
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened."
Linus Torvalds
Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's:
links
resources
deviantart
spreadbsd
vermaden
View Public Profile
Visit vermaden's homepage!
Find all posts by vermaden